Closed lukehutch closed 4 years ago
Additionally converting a slightly non-normalized unit quaternion (e.g. ( 2.035E-9 4.715E-10 -9.166E-11 1.000E+0)
) to AxisAngle4d
can result in Inf
for each of the axes.
Thanks! The case of identity quaternion should be fixed now.
Thanks for the quick fixes, as always!
The following code
gives
I would expect the axes of
a
to be zero, notNaN
, since the axes ofq
are zero.