@eturnity/eturnity_3d 7.2.4-qa-7.4.0 → 7.2.4-qa-7.6.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.2.4-qa-7.
|
|
4
|
+
"version": "7.2.4-qa-7.6.0",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prettier": "prettier --write \"**/*.{js,vue}\""
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@eturnity/eturnity_maths": "7.2.3-qa-7.
|
|
13
|
+
"@eturnity/eturnity_maths": "7.2.3-qa-7.6.0",
|
|
14
14
|
"core-js": "^2.6.12",
|
|
15
15
|
"cors": "^2.8.5",
|
|
16
16
|
"earcut": "^2.2.4",
|
|
@@ -89,7 +89,6 @@ export default {
|
|
|
89
89
|
},
|
|
90
90
|
turnOrthogonalCameraToPerspective() {
|
|
91
91
|
this.camera = this.perspectiveCamera
|
|
92
|
-
console.log(this.orthographicCamera)
|
|
93
92
|
let altitude =
|
|
94
93
|
(this.orthographicCamera.right - this.orthographicCamera.left) /
|
|
95
94
|
((this.perspectiveCamera.fov * Math.PI) / 180) /
|
|
@@ -344,7 +343,6 @@ export default {
|
|
|
344
343
|
onCompleteCallback()
|
|
345
344
|
})
|
|
346
345
|
} else {
|
|
347
|
-
console.log('setTween Camera not Vertical')
|
|
348
346
|
this.camera.up = { x: 0, y: 0, z: 1 }
|
|
349
347
|
this.tweenCamera = new TWEEN.Tween(currentTweenVar)
|
|
350
348
|
.to({ t: 1 }, 2000)
|
|
@@ -106,6 +106,7 @@ export default {
|
|
|
106
106
|
const name = geometryEvent.name
|
|
107
107
|
const params = geometryEvent.params
|
|
108
108
|
let methodList = []
|
|
109
|
+
console.log(name)
|
|
109
110
|
switch (name) {
|
|
110
111
|
case 'zoomIn3D':
|
|
111
112
|
methodList.push({
|
|
@@ -211,6 +212,11 @@ export default {
|
|
|
211
212
|
method: this.renderObstacles,
|
|
212
213
|
arg: []
|
|
213
214
|
})
|
|
215
|
+
methodList.push({
|
|
216
|
+
name: 'renderNodes',
|
|
217
|
+
method: this.renderNodes,
|
|
218
|
+
arg: []
|
|
219
|
+
})
|
|
214
220
|
} else if (params.layer == 'obstacle') {
|
|
215
221
|
methodList.push({
|
|
216
222
|
name: 'renderBase',
|
|
@@ -459,6 +465,7 @@ export default {
|
|
|
459
465
|
},
|
|
460
466
|
geometryEventsToDo(val) {
|
|
461
467
|
if (val.length > 0) {
|
|
468
|
+
console.log(val)
|
|
462
469
|
this.refreshRendering()
|
|
463
470
|
}
|
|
464
471
|
}
|