@pirireis/webglobeplugins 0.8.1 → 0.8.2

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.8.1",
3
+ "version": "0.8.2",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT"
@@ -60,7 +60,7 @@ class PointTracksPlugin {
60
60
  [
61
61
  ["pos3D", {
62
62
  bufferManager: new BufferManager(gl, 3, { bufferType, initialCapacity }),
63
- adaptor: (item) => new Float32Array(wgs84ToCartesian3d(item.long, item.lat, item.height))
63
+ adaptor: (item) => new Float32Array(wgs84ToCartesian3d(item.long, item.lat, item.height / 1000)) // height is in meters
64
64
  }],
65
65
  ["pos2D", {
66
66
  bufferManager: new BufferManager(gl, 2, { bufferType, initialCapacity }),