UNPKG

three.fbo-helper

Version:

FrameBuffer Object inspector for three.js

15 lines (9 loc) 318 B
/** * @author sunag / http://www.sunag.com.br/ */ THREE.Matrix4Node = function( matrix ) { THREE.InputNode.call( this, 'm4' ); this.value = matrix || new THREE.Matrix4(); }; THREE.Matrix4Node.prototype = Object.create( THREE.InputNode.prototype ); THREE.Matrix4Node.prototype.constructor = THREE.Matrix4Node;