Download node_modules/three/src/materials/LineDashedMaterial.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/materials/LineDashedMaterial.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/materials/LineDashedMaterial.js
-
curl -L -o LineDashedMaterial.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/materials/LineDashedMaterial.js
524 Bytes
| import { LineBasicMaterial } from './LineBasicMaterial.js'; | |
| class LineDashedMaterial extends LineBasicMaterial { | |
| constructor( parameters ) { | |
| super(); | |
| this.isLineDashedMaterial = true; | |
| this.type = 'LineDashedMaterial'; | |
| this.scale = 1; | |
| this.dashSize = 3; | |
| this.gapSize = 1; | |
| this.setValues( parameters ); | |
| } | |
| copy( source ) { | |
| super.copy( source ); | |
| this.scale = source.scale; | |
| this.dashSize = source.dashSize; | |
| this.gapSize = source.gapSize; | |
| return this; | |
| } | |
| } | |
| export { LineDashedMaterial }; | |