Download node_modules/three/src/textures/CompressedArrayTexture.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/textures/CompressedArrayTexture.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/textures/CompressedArrayTexture.js
-
curl -L -o CompressedArrayTexture.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/textures/CompressedArrayTexture.js
434 Bytes
| import { ClampToEdgeWrapping } from '../constants.js'; | |
| import { CompressedTexture } from './CompressedTexture.js'; | |
| class CompressedArrayTexture extends CompressedTexture { | |
| constructor( mipmaps, width, height, depth, format, type ) { | |
| super( mipmaps, width, height, format, type ); | |
| this.isCompressedArrayTexture = true; | |
| this.image.depth = depth; | |
| this.wrapR = ClampToEdgeWrapping; | |
| } | |
| } | |
| export { CompressedArrayTexture }; | |