summaryrefslogtreecommitdiffstats
path: root/src/renderer/runtime/math/collision.ts
blob: 3df811a823717531236ac906af0413c83ffc1ba5 (plain)
1
2
3
4
5
6
7
import { Movement } from './line';

import { vec2 } from 'gl-matrix';

export interface Collidable {
	collide(out: vec2, move: Movement, r: number): boolean;
}