@eturnity/eturnity_3d 7.2.2-qa-7.2.4 → 7.2.2-qa-7.2.5

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.2-qa-7.2.4",
4
+ "version": "7.2.2-qa-7.2.5",
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.2-qa-7.2.3",
13
+ "@eturnity/eturnity_maths": "7.2.2-qa-7.2.4",
14
14
  "core-js": "^2.6.12",
15
15
  "cors": "^2.8.5",
16
16
  "earcut": "^2.2.4",
@@ -267,7 +267,6 @@ export default {
267
267
  },
268
268
  setTweenTo(position, target, fov = 50, onCompleteCallback = () => {}) {
269
269
  TWEEN.removeAll()
270
- console.log('setTweenTo')
271
270
  if (this.camera) {
272
271
  const currentTweenVar = {
273
272
  t: 0
@@ -298,7 +297,6 @@ export default {
298
297
  initialCameraPosition.y - finalCameraPosition.y,
299
298
  initialCameraPosition.x - finalCameraPosition.x
300
299
  )
301
- console.log('setTween Camera Vertical')
302
300
  this.tweenCamera = new TWEEN.Tween(currentTweenVar)
303
301
  .to({ t: 1 }, 2000)
304
302
  .easing(TWEEN.Easing.Sinusoidal.Out)
@@ -2,7 +2,6 @@ import * as THREE from 'three'
2
2
  export default {
3
3
  methods: {
4
4
  renderNodes() {
5
- console.log('renderNodes', this.nodesVisible)
6
5
  if (!this.nodesVisible) {
7
6
  if (this.meshes.nodeMeshes) {
8
7
  this.meshes.nodeMeshes.visible = false
@@ -106,6 +106,7 @@ export default {
106
106
  this.camera,
107
107
  this.renderer.domElement
108
108
  )
109
+ this.orbitControl.maxPolarAngle = Math.PI / 2
109
110
  this.orbitControl.mouseButtons = {
110
111
  LEFT: THREE.MOUSE.PAN,
111
112
  RIGHT: THREE.MOUSE.ROTATE,