preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
21
frontend/node_modules/three/examples/jsm/objects/InstancedPoints.js
generated
vendored
Normal file
21
frontend/node_modules/three/examples/jsm/objects/InstancedPoints.js
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import {
|
||||
Mesh
|
||||
} from 'three';
|
||||
import InstancedPointsGeometry from '../geometries/InstancedPointsGeometry.js';
|
||||
import InstancedPointsNodeMaterial from '../nodes/materials/InstancedPointsNodeMaterial.js';
|
||||
|
||||
class InstancedPoints extends Mesh {
|
||||
|
||||
constructor( geometry = new InstancedPointsGeometry(), material = new InstancedPointsNodeMaterial() ) {
|
||||
|
||||
super( geometry, material );
|
||||
|
||||
this.isInstancedPoints = true;
|
||||
|
||||
this.type = 'InstancedPoints';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default InstancedPoints;
|
||||
Loading…
Add table
Add a link
Reference in a new issue