Skip to content
Snippets Groups Projects
Commit 4b5f0c89 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Check that quaternion is normalized when converting to rotation matrix

  The conversion formula used is valid only for unit quaternions.
  If a user passes a zero quaternion by mistake, the resulting matrix is
  identity. This is very confusing since multiplying by a Transform3f containing
  0 as a quaternion results in identity Transform3f.
parent 15b90897
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment