Download node_modules/three/src/textures/CompressedCubeTexture.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/textures/CompressedCubeTexture.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/textures/CompressedCubeTexture.js
-
curl -L -o CompressedCubeTexture.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/textures/CompressedCubeTexture.js
448 Bytes
| import { CubeReflectionMapping } from '../constants.js'; | |
| import { CompressedTexture } from './CompressedTexture.js'; | |
| class CompressedCubeTexture extends CompressedTexture { | |
| constructor( images, format, type ) { | |
| super( undefined, images[ 0 ].width, images[ 0 ].height, format, type, CubeReflectionMapping ); | |
| this.isCompressedCubeTexture = true; | |
| this.isCubeTexture = true; | |
| this.image = images; | |
| } | |
| } | |
| export { CompressedCubeTexture }; | |