@eturnity/eturnity_3d 6.33.0-qa.2 → 6.33.0-qa.3

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": "6.33.0-qa.2",
4
+ "version": "6.33.0-qa.3",
5
5
  "main": "dist/main.js",
6
6
  "scripts": {
7
7
  "dev": "vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
@@ -198,7 +198,11 @@ export default {
198
198
  //if flat roof=> go south
199
199
  horizontalVector.y = 1
200
200
  }
201
- cameraMoveVector = multiplyVector(distance * 1500, horizontalVector)
201
+ let distanceCoefficient = 2
202
+ if(flatRoof){
203
+ distanceCoefficient = 1.5
204
+ }
205
+ cameraMoveVector = multiplyVector(distance * 1000 * distanceCoefficient, horizontalVector)
202
206
  }
203
207
 
204
208
  const positionVector = addVector(polygonRef.meanPoint, cameraMoveVector)