Open airballking opened 7 years ago
Update: The NaNs were caused because the old axis-angle
did not support variable axes, which Adrian used. That is fixed. However, checking for a zero-axis is not yet covered, and might be hard because it would have to happen at runtime.
I still have to think about a possible fix.
Adrian passed
((0, 0, 0), 0)
and receives a matrix of NaNs. Throw a runtime exception when the rotation axis has length zero.