phantasmal-world/src/viewer/rendering/ModelWebglRenderer.ts

17 lines
456 B
TypeScript
Raw Normal View History

2020-01-23 08:16:52 +08:00
import { WebglRenderer } from "../../core/rendering/webgl/WebglRenderer";
import { ModelStore } from "../stores/ModelStore";
import { Disposer } from "../../core/observable/Disposer";
export class ModelWebglRenderer extends WebglRenderer {
private readonly disposer = new Disposer();
constructor(private readonly store: ModelStore) {
super();
}
dispose(): void {
super.dispose();
this.disposer.dispose();
}
}