preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
28
frontend/node_modules/three/examples/jsm/nodes/materials/LineBasicNodeMaterial.js
generated
vendored
Normal file
28
frontend/node_modules/three/examples/jsm/nodes/materials/LineBasicNodeMaterial.js
generated
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
import NodeMaterial, { addNodeMaterial } from './NodeMaterial.js';
|
||||
|
||||
import { LineBasicMaterial } from 'three';
|
||||
|
||||
const defaultValues = new LineBasicMaterial();
|
||||
|
||||
class LineBasicNodeMaterial extends NodeMaterial {
|
||||
|
||||
constructor( parameters ) {
|
||||
|
||||
super();
|
||||
|
||||
this.isLineBasicNodeMaterial = true;
|
||||
|
||||
this.lights = false;
|
||||
this.normals = false;
|
||||
|
||||
this.setDefaultValues( defaultValues );
|
||||
|
||||
this.setValues( parameters );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default LineBasicNodeMaterial;
|
||||
|
||||
addNodeMaterial( 'LineBasicNodeMaterial', LineBasicNodeMaterial );
|
||||
Loading…
Add table
Add a link
Reference in a new issue