Minor fixes

This commit is contained in:
schmelczerandras 2020-10-30 23:06:19 +01:00
parent 18f23a8d65
commit bc7c67368e
3 changed files with 7 additions and 6 deletions

View file

@ -3,6 +3,8 @@ import { Drawable } from './drawable';
import { DrawableDescriptor } from './drawable-descriptor';
/**
* Required for specifying the correct TS types.
*
* @internal
*/
export class EmptyDrawable extends Drawable {

View file

@ -2,7 +2,7 @@ import { mat2d, vec2, vec3 } from 'gl-matrix';
import { Drawable } from '../../main';
/** @internal */
export class LightDrawable extends Drawable {
export abstract class LightDrawable extends Drawable {
protected lightnessRatio = 1;
constructor(public center: vec2, public color: vec3, public intensity: number) {