You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
283 B
19 lines
283 B
2 years ago
|
import InputNode from '../core/InputNode.js';
|
||
|
import { Matrix4 } from 'three';
|
||
|
|
||
|
class Matrix4Node extends InputNode {
|
||
|
|
||
|
constructor( value = new Matrix4() ) {
|
||
|
|
||
|
super( 'mat4' );
|
||
|
|
||
|
this.value = value;
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
Matrix4Node.prototype.isMatrix4Node = true;
|
||
|
|
||
|
export default Matrix4Node;
|