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,25 @@
/**
* @author sunag / http://www.sunag.com.br/
*/
THREE.ResolutionNode = function( renderer ) {
THREE.Vector2Node.call( this );
this.requestUpdate = true;
this.renderer = renderer;
};
THREE.ResolutionNode.prototype = Object.create( THREE.Vector2Node.prototype );
THREE.ResolutionNode.prototype.constructor = THREE.ResolutionNode;
THREE.ResolutionNode.prototype.updateFrame = function( delta ) {
var size = this.renderer.getSize();
this.x = size.width;
this.y = size.height;
};