Fix lights

This commit is contained in:
schmelczerandras 2020-09-20 19:23:22 +02:00
parent 13843f87a8
commit e44be0c5ee
17 changed files with 179 additions and 117 deletions

View file

@ -5,7 +5,7 @@ export abstract class Drawable {
// This should be overriden by inherited classes
public static readonly descriptor: DrawableDescriptor;
public abstract distance(target: vec2): number;
public abstract minDistance(target: vec2): number;
protected abstract getObjectToSerialize(transform2d: mat2d, transform1d: number): any;