initial commit

This commit is contained in:
Senad Uka
2017-11-19 15:16:07 +01:00
commit 0960216d5c
779 changed files with 266148 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;
};