Matrix3Node.js 337 B

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