Download node_modules/three/examples/jsm/objects/InstancedPoints.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/examples/jsm/objects/InstancedPoints.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/examples/jsm/objects/InstancedPoints.js
-
curl -L -o InstancedPoints.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/examples/jsm/objects/InstancedPoints.js
488 Bytes
| 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; | |