@eturnity/eturnity_3d 7.20.1-qa-7.24.13 → 7.24.0
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eturnity/eturnity_3d",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.24.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"src"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"prettier": "prettier --write \"**/*.{js,vue}\""
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@eturnity/eturnity_maths": "7.
|
|
18
|
+
"@eturnity/eturnity_maths": "7.24.0",
|
|
19
19
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
20
20
|
"core-js": "2.6.12",
|
|
21
21
|
"cors": "2.8.5",
|
|
@@ -391,7 +391,6 @@ export default class AirTeamOverlay extends Overlay {
|
|
|
391
391
|
checkGeoLocDataAndOffset() {
|
|
392
392
|
const lat0 = this.overlayMesh.children[0].userData.latitude_origin
|
|
393
393
|
const lng0 = this.overlayMesh.children[0].userData.longitude_origin
|
|
394
|
-
console.log('geoLocalisation:',lat0,lng0,this.overlayMesh)
|
|
395
394
|
if (lat0 && lng0 && this.origin) {
|
|
396
395
|
let { x, y } = deltaLatLngToDistance(
|
|
397
396
|
lat0 - this.origin.lat,
|
|
@@ -402,9 +401,7 @@ export default class AirTeamOverlay extends Overlay {
|
|
|
402
401
|
this.positionOffset.x = x
|
|
403
402
|
this.positionOffset.y = y
|
|
404
403
|
this.positionOffset.z = 0
|
|
405
|
-
console.log('geoloc shift by',x,y)
|
|
406
404
|
} else {
|
|
407
|
-
console.log('no shift location:',Math.hypot(x, y),x,y)
|
|
408
405
|
this.positionOffset.x = 0
|
|
409
406
|
this.positionOffset.y = 0
|
|
410
407
|
this.positionOffset.z = 0
|