webvr js meetup initial commit

This commit is contained in:
Senad Uka
2017-03-11 15:22:17 +01:00
commit 3f640b55db
761 changed files with 264174 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/**
* @author sunag / http://www.sunag.com.br/
*/
THREE.ScreenNode = function( coord ) {
THREE.TextureNode.call( this, undefined, coord );
};
THREE.ScreenNode.prototype = Object.create( THREE.TextureNode.prototype );
THREE.ScreenNode.prototype.constructor = THREE.ScreenNode;
THREE.ScreenNode.prototype.isUnique = function() {
return true;
};
THREE.ScreenNode.prototype.getTexture = function( builder, output ) {
return THREE.InputNode.prototype.generate.call( this, builder, output, this.getUuid(), 't', 'renderTexture' );
};