• Ewoud Smeur's avatar
    Protect quat to euler conversion for NaN (#2580) · e8364381
    Ewoud Smeur authored
    If the quaternion is slightly off around +-90 degrees pitch, the result
    might be a NaN if the asin is computed. Added bounds to make sure this
    can never happen. The argument should not be outside [-1,1] anyway.
    e8364381