@deck.gl/carto 8.7.11 → 8.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist.dev.js +6 -4
- package/package.json +2 -2
package/dist/dist.dev.js
CHANGED
|
@@ -52041,6 +52041,7 @@ uniform bool fill_patternEnabled;
|
|
|
52041
52041
|
uniform bool fill_patternMask;
|
|
52042
52042
|
uniform sampler2D fill_patternTexture;
|
|
52043
52043
|
uniform vec2 fill_uvCoordinateOrigin;
|
|
52044
|
+
uniform vec2 fill_uvCoordinateOrigin64Low;
|
|
52044
52045
|
|
|
52045
52046
|
varying vec4 fill_patternBounds;
|
|
52046
52047
|
varying vec3 fill_patternPlacement;
|
|
@@ -52062,7 +52063,7 @@ const inject = {
|
|
|
52062
52063
|
'fs:DECKGL_FILTER_COLOR': `
|
|
52063
52064
|
if (fill_patternEnabled) {
|
|
52064
52065
|
float scale = FILL_UV_SCALE * fill_patternPlacement.z;
|
|
52065
|
-
vec2 patternUV = mod(mod(fill_uvCoordinateOrigin, scale) + fill_uv, scale) / scale;
|
|
52066
|
+
vec2 patternUV = mod(mod(fill_uvCoordinateOrigin, scale) + fill_uvCoordinateOrigin64Low + fill_uv, scale) / scale;
|
|
52066
52067
|
patternUV = mod(fill_patternPlacement.xy + patternUV, 1.0);
|
|
52067
52068
|
|
|
52068
52069
|
vec2 texCoords = fill_patternBounds.xy + fill_patternBounds.zw * patternUV;
|
|
@@ -52094,12 +52095,13 @@ function getPatternUniforms(opts = {}, uniforms) {
|
|
|
52094
52095
|
fillPatternEnabled = true
|
|
52095
52096
|
} = opts;
|
|
52096
52097
|
const {
|
|
52097
|
-
project_uCoordinateOrigin
|
|
52098
|
-
project_uCoordinateSystem
|
|
52098
|
+
project_uCoordinateOrigin
|
|
52099
52099
|
} = uniforms;
|
|
52100
|
-
const coordinateOriginCommon =
|
|
52100
|
+
const coordinateOriginCommon = viewport.projectPosition(project_uCoordinateOrigin);
|
|
52101
|
+
const coordinateOriginCommon64Low = [Object(_deck_gl_core__WEBPACK_IMPORTED_MODULE_0__["fp64LowPart"])(coordinateOriginCommon[0]), Object(_deck_gl_core__WEBPACK_IMPORTED_MODULE_0__["fp64LowPart"])(coordinateOriginCommon[1])];
|
|
52101
52102
|
return {
|
|
52102
52103
|
fill_uvCoordinateOrigin: coordinateOriginCommon.slice(0, 2),
|
|
52104
|
+
fill_uvCoordinateOrigin64Low: coordinateOriginCommon64Low,
|
|
52103
52105
|
fill_patternMask: fillPatternMask,
|
|
52104
52106
|
fill_patternEnabled: fillPatternEnabled
|
|
52105
52107
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@deck.gl/carto",
|
|
3
3
|
"description": "CARTO official integration with Deck.gl. Build geospatial applications using CARTO and Deck.gl.",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "8.7.
|
|
5
|
+
"version": "8.7.12",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"@deck.gl/layers": "^8.0.0",
|
|
58
58
|
"@loaders.gl/core": "^3.1.5"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "8982b5d2b1add585af1f7144bc259e2216707319"
|
|
61
61
|
}
|