]> gerrit.simantics Code Review - simantics/3d.git/commit
Converting variable angle turn turn to fixed angle could fail. 48/3648/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 29 Nov 2019 12:34:50 +0000 (14:34 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 29 Nov 2019 12:43:05 +0000 (12:43 +0000)
commit0b27d8820b2ea8ca30e75dd554d3b506fc31f643
tree7fd1139e922b5484a50b82c2d7132fa11b75809d
parentba83a8b8c95b94a035d20e458880beec68b9c450
Converting variable angle turn turn to fixed angle could fail.

Calculating rotating angle from input and output directions was using 0
- PI restricted angle calculation, where expected result was -PI - PI

gitlab #46

Change-Id: I08956dc40009c4fea17883b7a6caf8468db8bf7f
(cherry picked from commit b9efd234b46a0c15a9ee034592b90d72f18480fe)
org.simantics.g3d/src/org/simantics/g3d/math/MathTools.java