|
@@ -37,6 +37,13 @@ THREE.WebGLRenderTarget.prototype = {
|
|
|
|
|
|
constructor: THREE.WebGLRenderTarget,
|
|
constructor: THREE.WebGLRenderTarget,
|
|
|
|
|
|
|
|
+ setSize: function ( width, height ) {
|
|
|
|
+
|
|
|
|
+ this.width = width;
|
|
|
|
+ this.height = height;
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+
|
|
clone: function () {
|
|
clone: function () {
|
|
|
|
|
|
var tmp = new THREE.WebGLRenderTarget( this.width, this.height );
|
|
var tmp = new THREE.WebGLRenderTarget( this.width, this.height );
|