@pirireis/webglobeplugins 1.6.4 → 1.6.6

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": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT",
@@ -310,6 +310,7 @@ class PointTracksPlugin {
310
310
  }
311
311
  _pickerDisplayer.drawColorTexture(globeFBO);
312
312
  this._selfSelect();
313
+ gl.bindFramebuffer(gl.FRAMEBUFFER, globeFBO);
313
314
  }
314
315
  resize() {
315
316
  const w = this.globe.api_ScrW();
@@ -60,11 +60,12 @@ class TimeTrackInterpolator {
60
60
  const timeFraction = (time - times[timeIndex]) / (times[timeIndex + 1] - times[timeIndex]);
61
61
  if (geometry === GEOMETRY.CARTESIAN3D) {
62
62
  sphericalLinearInterpolation_Cartesian3d(_0vec3, coordinates[timeIndex], coordinates[timeIndex + 1], timeFraction);
63
+ resultArray.push(..._0vec3);
63
64
  }
64
65
  else {
65
66
  sphericalLinearInterpolation_Mercator(_0vec3, coordinates[timeIndex], coordinates[timeIndex + 1], timeFraction);
67
+ resultArray.push(_0vec3[0], _0vec3[1]);
66
68
  }
67
- resultArray.push(..._0vec3);
68
69
  }
69
70
  return new Float32Array(resultArray);
70
71
  }