Quaternion and AngleAxis should check their input
Assigned to Nobody
Link to original bugzilla bug (#601)
Created attachment 337
As discussed on the mailing list, some of the ctors/members of AngleAxis and Quaternion assume either unit vectors of matrices. The attached patch does exactly that with a very high tolerance to reduce the risk of false negatives:
Such a high threshold was needed to be compatible with fast normalization routines that are very inaccurate.
There was discussion on whether this threshold should be configurable by the user. Sounds overkill to me.
Attachment 337, "Proposed patch":