]> gerrit.simantics Code Review - simantics/3d.git/commit
Converting variable angle turn turn to fixed angle could fail. 47/3647/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:34:50 +0000 (14:34 +0200)
commitb9efd234b46a0c15a9ee034592b90d72f18480fe
tree824ef3fd0caef46d124bd837c853ad1d6181ac2d
parent944164586441e68cd62073de3995a2455be9680a
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
org.simantics.g3d/src/org/simantics/g3d/math/MathTools.java