Add more improvements

This commit is contained in:
schmelczerandras 2020-09-16 14:45:08 +02:00
parent e1c74a8054
commit bc16bdd62e
29 changed files with 288 additions and 160 deletions

View file

@ -2,13 +2,13 @@ import { vec2 } from 'gl-matrix';
import { Drawable } from '../../drawables/drawable';
export interface Renderer {
setViewArea(topLeft: vec2, size: vec2): void;
addDrawable(drawable: Drawable): void;
renderDrawables(): void;
autoscaleQuality(deltaTime: DOMHighResTimeStamp): void;
readonly canvasSize: vec2;
readonly insights: any;
setViewArea(topLeft: vec2, size: vec2): void;
setCursorPosition(position: vec2): void;
addDrawable(drawable: Drawable): void;
autoscaleQuality(deltaTime: DOMHighResTimeStamp): void;
renderDrawables(): void;
destroy(): void;
}