Matrix4Node.js 283 B

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