phantasmal-world/test/src/core/rendering/StubThreeRenderer.ts

12 lines
364 B
TypeScript
Raw Normal View History

import { DisposableThreeRenderer } from "../../../../src/core/rendering/Renderer";
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
}