Download node_modules/three/examples/jsm/lines/Line2.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/examples/jsm/lines/Line2.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/examples/jsm/lines/Line2.js
-
curl -L -o Line2.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/examples/jsm/lines/Line2.js
433 Bytes
| import { LineSegments2 } from '../lines/LineSegments2.js'; | |
| import { LineGeometry } from '../lines/LineGeometry.js'; | |
| import { LineMaterial } from '../lines/LineMaterial.js'; | |
| class Line2 extends LineSegments2 { | |
| constructor( geometry = new LineGeometry(), material = new LineMaterial( { color: Math.random() * 0xffffff } ) ) { | |
| super( geometry, material ); | |
| this.isLine2 = true; | |
| this.type = 'Line2'; | |
| } | |
| } | |
| export { Line2 }; | |