KieranWynn / pyquaternion

A fully featured, pythonic library for representing and using quaternions
http://kieranwynn.github.io/pyquaternion/
MIT License
339 stars 68 forks source link

Quaternion from Matrix Optional Args #44

Closed Olshansk closed 4 years ago

Olshansk commented 4 years ago

Changes:

Initiliaizing a quaternion from a matrix raises a ValueError if the provided matrix is not orthogonal. This is because the default precision used by numpy's allclose function is 1e-08.

Developers should have an option to specify a lower precision if they choose to and still use all of the utilities in this library.

Olshansk commented 4 years ago

@KieranWynn I really believe this will be a valuable change to developers.