@eturnity/eturnity_3d 7.2.4-qa-7.4.2 → 7.2.4-qa-7.6.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,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.2",
|
|
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)
|
|
@@ -211,6 +211,11 @@ export default {
|
|
|
211
211
|
method: this.renderObstacles,
|
|
212
212
|
arg: []
|
|
213
213
|
})
|
|
214
|
+
methodList.push({
|
|
215
|
+
name: 'renderNodes',
|
|
216
|
+
method: this.renderNodes,
|
|
217
|
+
arg: []
|
|
218
|
+
})
|
|
214
219
|
} else if (params.layer == 'obstacle') {
|
|
215
220
|
methodList.push({
|
|
216
221
|
name: 'renderBase',
|
|
@@ -228,11 +233,6 @@ export default {
|
|
|
228
233
|
arg: []
|
|
229
234
|
})
|
|
230
235
|
}
|
|
231
|
-
methodList.push({
|
|
232
|
-
name: 'renderRoofsMargin',
|
|
233
|
-
method: this.renderRoofsMargin,
|
|
234
|
-
arg: []
|
|
235
|
-
})
|
|
236
236
|
break
|
|
237
237
|
case 'removePanels': //params.panels
|
|
238
238
|
case 'removeModuleField': //params:moduleField
|
package/src/helper/threeMixin.js
CHANGED
|
@@ -108,8 +108,8 @@ export default {
|
|
|
108
108
|
)
|
|
109
109
|
this.orbitControl.maxPolarAngle = Math.PI / 2
|
|
110
110
|
this.orbitControl.mouseButtons = {
|
|
111
|
-
RIGHT: THREE.MOUSE.PAN,
|
|
112
111
|
LEFT: THREE.MOUSE.ROTATE,
|
|
112
|
+
RIGHT: THREE.MOUSE.PAN,
|
|
113
113
|
MIDDLE: THREE.MOUSE.DOLLY
|
|
114
114
|
}
|
|
115
115
|
this.orbitControl.screenSpacePanning = false
|