@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
|
@@ -198,7 +198,11 @@ export default {
|
|
|
198
198
|
//if flat roof=> go south
|
|
199
199
|
horizontalVector.y = 1
|
|
200
200
|
}
|
|
201
|
-
|
|
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)
|