ShadowEditor/js/nodes/inputs/Matrix4Node.js
2018-06-07 19:50:07 +08:00

15 lines
318 B
JavaScript

/**
* @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;