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

22 lines
488 B
JavaScript

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;