summaryrefslogtreecommitdiffstats
path: root/src/renderer/math/circle.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/math/circle.ts')
-rw-r--r--src/renderer/math/circle.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/renderer/math/circle.ts b/src/renderer/math/circle.ts
deleted file mode 100644
index f4e855a..0000000
--- a/src/renderer/math/circle.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { Collidable } from './collision';
-import { Movement } from './line';
-import { Point } from './point';
-
-import { vec2 } from 'gl-matrix';
-
-export class Circle implements Collidable, Point {
- private pointCollide = Point.prototype.collide;
-
- constructor(public readonly p: vec2, public readonly r: number) {}
-
- public collide(out: vec2, move: Movement, r: number): boolean {
- return this.pointCollide(out, move, r + this.r);
- }
-}