Download node_modules/three/src/lights/DirectionalLightShadow.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/lights/DirectionalLightShadow.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/lights/DirectionalLightShadow.js
-
curl -L -o DirectionalLightShadow.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/lights/DirectionalLightShadow.js
337 Bytes
| import { LightShadow } from './LightShadow.js'; | |
| import { OrthographicCamera } from '../cameras/OrthographicCamera.js'; | |
| class DirectionalLightShadow extends LightShadow { | |
| constructor() { | |
| super( new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) ); | |
| this.isDirectionalLightShadow = true; | |
| } | |
| } | |
| export { DirectionalLightShadow }; | |