Matrix3Node.js 283 B

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