Download node_modules/three/src/renderers/webgl/WebGLShader.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/renderers/webgl/WebGLShader.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/renderers/webgl/WebGLShader.js
-
curl -L -o WebGLShader.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/renderers/webgl/WebGLShader.js
196 Bytes
| function WebGLShader( gl, type, string ) { | |
| const shader = gl.createShader( type ); | |
| gl.shaderSource( shader, string ); | |
| gl.compileShader( shader ); | |
| return shader; | |
| } | |
| export { WebGLShader }; | |