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