Add more improvements
This commit is contained in:
parent
e1c74a8054
commit
bc16bdd62e
29 changed files with 288 additions and 160 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue