Refactor rendering

This commit is contained in:
schmelczerandras 2020-08-18 15:49:15 +02:00
commit 76282a4cf7

View file

@ -1,10 +1,13 @@
import { BoundingBox } from './bounding-box';
import { vec2 } from 'gl-matrix';
import { GameObject } from '../objects/game-object';
export interface IShape {
readonly isInverted: boolean;
readonly boundingBox: BoundingBox;
readonly gameObject?: GameObject;
distance(target: vec2): number;
normal(from: vec2): vec2;