UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

12 lines (9 loc) 333 B
import { Camera, Matrix3, Scene, WebGLRenderer } from 'three' export class AnaglyphEffect { constructor(renderer: WebGLRenderer, width?: number, height?: number) colorMatrixLeft: Matrix3 colorMatrixRight: Matrix3 dispose(): void render(scene: Scene, camera: Camera): void setSize(width: number, height: number): void }