Add factories for finer color management

This commit is contained in:
schmelczerandras 2020-10-13 22:31:50 +02:00
parent ff6943169b
commit 5ff15fa58f
14 changed files with 644 additions and 391 deletions

View file

@ -0,0 +1,18 @@
import { mat2d, vec2 } from 'gl-matrix';
import { Drawable } from './drawable';
import { DrawableDescriptor } from './drawable-descriptor';
/**
* @internal
*/
export class EmptyDrawable extends Drawable {
public static readonly descriptor: DrawableDescriptor;
public minDistance(target: vec2): number {
throw new Error('Unimplemented');
}
protected getObjectToSerialize(transform2d: mat2d, transform1d: number): any {
throw new Error('Unimplemented');
}
}