Matrix4Node.js 337 B

123456789101112131415161718
  1. import InputNode from '../core/InputNode.js';
  2. import { Matrix4 } from '../../../../../build/three.module.js';
  3. class Matrix4Node extends InputNode {
  4. constructor( value = new Matrix4() ) {
  5. super( 'mat4' );
  6. this.value = value;
  7. Object.defineProperty( this, 'isMatrix4Node', { value: true } );
  8. }
  9. }
  10. export default Matrix4Node;