Maths - Conversion Axis-Angle to Euler - correction from forum

By: Nobody/Anonymous - nobody
file Error in Conversion Axis Angle to Euler  
2005-01-20 06:08

https://www.euclideanspace.com/maths/geometry/rotations/conversions/angleToEuler/index.htm 
 
if ((x*y*t + z*s) < 0.998) { 
// south pole singularity detected 
 
should be 
 
if ((x*y*t + z*s) < -0.998) { 
// south pole singularity detected 
 

By: Martin Baker - martinbaker
file RE: Error in Conversion Axis Angle to Euler  
2005-01-20 08:58

Thanks very much, page updated. 
 
Martin


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover Game Design for Teens.

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2023 Martin John Baker - All rights reserved - privacy policy.