Spaces:
Paused
Paused
Download node_modules/@plotly/mapbox-gl/src/gl/cull_face_mode.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 642 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/gl/cull_face_mode.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/gl/cull_face_mode.js
-
curl -L -o cull_face_mode.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/gl/cull_face_mode.js
642 Bytes
| // @flow | |
| import type {CullFaceModeType, FrontFaceType} from './types'; | |
| const BACK = 0x0405; | |
| const CCW = 0x0901; | |
| class CullFaceMode { | |
| enable: boolean; | |
| mode: CullFaceModeType; | |
| frontFace: FrontFaceType; | |
| constructor(enable: boolean, mode: CullFaceModeType, frontFace: FrontFaceType) { | |
| this.enable = enable; | |
| this.mode = mode; | |
| this.frontFace = frontFace; | |
| } | |
| static disabled: $ReadOnly<CullFaceMode>; | |
| static backCCW: $ReadOnly<CullFaceMode>; | |
| } | |
| CullFaceMode.disabled = new CullFaceMode(false, BACK, CCW); | |
| CullFaceMode.backCCW = new CullFaceMode(true, BACK, CCW); | |
| export default CullFaceMode; | |