Download node_modules/three/src/renderers/WebGLArrayRenderTarget.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/renderers/WebGLArrayRenderTarget.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/renderers/WebGLArrayRenderTarget.js
-
curl -L -o WebGLArrayRenderTarget.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/renderers/WebGLArrayRenderTarget.js
511 Bytes
| import { WebGLRenderTarget } from './WebGLRenderTarget.js'; | |
| import { DataArrayTexture } from '../textures/DataArrayTexture.js'; | |
| class WebGLArrayRenderTarget extends WebGLRenderTarget { | |
| constructor( width = 1, height = 1, depth = 1, options = {} ) { | |
| super( width, height, options ); | |
| this.isWebGLArrayRenderTarget = true; | |
| this.depth = depth; | |
| this.texture = new DataArrayTexture( null, width, height, depth ); | |
| this.texture.isRenderTargetTexture = true; | |
| } | |
| } | |
| export { WebGLArrayRenderTarget }; | |