14 lines
431 B
JavaScript
14 lines
431 B
JavaScript
/**
|
|
* @author alteredq / http://alteredqualia.com
|
|
*/
|
|
|
|
THREE.WebGLRenderTargetCube = function ( width, height, options ) {
|
|
|
|
THREE.WebGLRenderTarget.call( this, width, height, options );
|
|
|
|
this.activeCubeFace = 0; // PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5
|
|
|
|
};
|
|
|
|
THREE.WebGLRenderTargetCube.prototype = Object.create( THREE.WebGLRenderTarget.prototype );
|
|
THREE.WebGLRenderTargetCube.prototype.constructor = THREE.WebGLRenderTargetCube;
|