Closed snowkittykira closed 1 year ago
Does this produce different "up to normalization" results, or does it just produce the same results but normalized?
I can't say for sure without an explanation of how the original code works! I could write some code to try with a bunch of vectors but that won't necessarily find corner cases. It did return the same (but normalized) value for the test case though.
closing because i'm not confident enough that this is the proper fix, i'm going to do more testing
Fix for #87 by reimplementing quat.from_direction in terms of quat.from_angle_axis. Also corrected the existing test and added a couple of new ones.