Spaces:
Paused
Paused
Download node_modules/@plotly/mapbox-gl/src/gl/stencil_mode.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 776 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/gl/stencil_mode.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/mapbox-gl/src/gl/stencil_mode.js
-
curl -L -o stencil_mode.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/mapbox-gl/src/gl/stencil_mode.js
776 Bytes
| // @flow | |
| import type {StencilOpConstant, StencilTest} from './types'; | |
| const ALWAYS = 0x0207; | |
| const KEEP = 0x1E00; | |
| class StencilMode { | |
| test: StencilTest; | |
| ref: number; | |
| mask: number; | |
| fail: StencilOpConstant; | |
| depthFail: StencilOpConstant; | |
| pass: StencilOpConstant; | |
| constructor(test: StencilTest, ref: number, mask: number, fail: StencilOpConstant, | |
| depthFail: StencilOpConstant, pass: StencilOpConstant) { | |
| this.test = test; | |
| this.ref = ref; | |
| this.mask = mask; | |
| this.fail = fail; | |
| this.depthFail = depthFail; | |
| this.pass = pass; | |
| } | |
| static disabled: $ReadOnly<StencilMode>; | |
| } | |
| StencilMode.disabled = new StencilMode({func: ALWAYS, mask: 0}, 0, 0, KEEP, KEEP, KEEP); | |
| export default StencilMode; | |