phantasmal-world/test/src/core/rendering/StubThreeRenderer.ts
2020-01-19 17:16:28 +01:00

12 lines
369 B
TypeScript

import { DisposableThreeRenderer } from "../../../../src/core/rendering/ThreeRenderer";
export class StubThreeRenderer implements DisposableThreeRenderer {
domElement: HTMLCanvasElement = document.createElement("canvas");
dispose(): void {} // eslint-disable-line
render(): void {} // eslint-disable-line
setSize(): void {} // eslint-disable-line
}