three
Version:
JavaScript 3D library
19 lines (10 loc) • 337 B
JavaScript
import InputNode from '../core/InputNode.js';
import { Matrix3 } from '../../../../../build/three.module.js';
class Matrix3Node extends InputNode {
constructor( value = new Matrix3() ) {
super( 'mat3' );
this.value = value;
Object.defineProperty( this, 'isMatrix3Node', { value: true } );
}
}
export default Matrix3Node;