chore: dead code
This commit is contained in:
parent
18dde02fdf
commit
0bd8786a4a
|
@ -2,7 +2,6 @@ import {compose} from '@avocado/core';
|
|||
import {Vector} from '@avocado/math';
|
||||
|
||||
import {PolygonShape} from './polygon';
|
||||
import { Rectangle } from '../math';
|
||||
|
||||
const decorate = compose(
|
||||
Vector.Mixin('size', 'width', 'height', {
|
||||
|
@ -29,10 +28,6 @@ export class RectangleShape extends decorate(PolygonShape) {
|
|||
});
|
||||
}
|
||||
|
||||
// get aabb() {
|
||||
// return Rectangle.compose([0, 0], this.size);
|
||||
// }
|
||||
|
||||
fromJSON(json) {
|
||||
super.fromJSON(json);
|
||||
const keys = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user