Spaces:
Paused
Paused
Download node_modules/@plotly/mapbox-gl/src/gl/depth_mode.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 692 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/gl/depth_mode.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/gl/depth_mode.js
-
curl -L -o depth_mode.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/gl/depth_mode.js
692 Bytes
| // @flow | |
| import type {DepthFuncType, DepthMaskType, DepthRangeType} from './types'; | |
| const ALWAYS = 0x0207; | |
| class DepthMode { | |
| func: DepthFuncType; | |
| mask: DepthMaskType; | |
| range: DepthRangeType; | |
| // DepthMask enums | |
| static ReadOnly: boolean; | |
| static ReadWrite: boolean; | |
| constructor(depthFunc: DepthFuncType, depthMask: DepthMaskType, depthRange: DepthRangeType) { | |
| this.func = depthFunc; | |
| this.mask = depthMask; | |
| this.range = depthRange; | |
| } | |
| static disabled: $ReadOnly<DepthMode>; | |
| } | |
| DepthMode.ReadOnly = false; | |
| DepthMode.ReadWrite = true; | |
| DepthMode.disabled = new DepthMode(ALWAYS, DepthMode.ReadOnly, [0, 1]); | |
| export default DepthMode; | |