WIP
This commit is contained in:
parent
24cc572e47
commit
345e183e34
1 changed files with 614 additions and 173 deletions
|
|
@ -1,7 +1,11 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
import { ImmutableBoundingBox } from '../../physics/containers/immutable-bounding-box';
|
||||
import { GameObject } from '../../objects/game-object';
|
||||
|
||||
export interface IDrawable {
|
||||
serializeToUniforms(uniforms: any): void;
|
||||
distance(target: vec2): number;
|
||||
minimumDistance(target: vec2): number;
|
||||
readonly owner: GameObject;
|
||||
readonly boundingBox: ImmutableBoundingBox;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue