@pirireis/webglobeplugins 0.6.28-a → 0.6.28-b

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pirireis/webglobeplugins",
3
- "version": "0.6.28-a",
3
+ "version": "0.6.28-b",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT"
@@ -15,11 +15,12 @@ import {
15
15
  * Plus 1 for returning to the start point. 1 for cutting the circle into pieces.
16
16
  */
17
17
  const EDGE_COUNT = 62;
18
- const escape_value = 200_000_000;
18
+ const ESCAPE_VALUE = 200000000;
19
+
19
20
  const vertexShaderSource = `#version 300 es
20
21
  precision highp float;
21
22
 
22
- # define escape_value ${escape_value}.0
23
+ # define escape_value ${ESCAPE_VALUE}.0
23
24
 
24
25
  ${CameraUniformBlockString}
25
26
  ${mercatorXYToGLPosition}
@@ -228,7 +229,7 @@ function centerCoords2dflatDataCreatorWithRadius(globe, centerLong, centerLat, r
228
229
  if (manhattanDistance(lastlg, lastlt, lg, lt) < 170) {
229
230
  centerCoords2dflat.set(globe.api_GetMercator2DPoint(lg, lt), i * 2);
230
231
  } else {
231
- centerCoords2dflat.set([escape_value, escape_value], i * 2);
232
+ centerCoords2dflat.set([ESCAPE_VALUE, ESCAPE_VALUE], i * 2);
232
233
  }
233
234
  lastlg = lg;
234
235
  lastlt = lt;