animate/webGl/my-threejs-test/node_modules/three/examples/jsm/objects/InstancedPoints.js

22 lines
488 B
JavaScript
Raw Normal View History

2024-06-24 09:24:00 +00:00
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;