Maths - Conversion Euler to Axis-Angle - Forum

By: Nobody/Anonymous - nobody
file Error in convert Eulers to Axis Angle  
2004-12-22 23:59

Big thanks for making all this material available; it just helped me with a problem I'd been going crazy over. 
 
On the page: 
 
https://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToAngle/ 
 
The code: 
 
angle = 2 * Math.acos(c1c2c3 - s1s2s3); 
 
should be: 
 
angle = 2 * Math.acos(w); 
 
And the code: 
 
x =/ norm; 
y =/ norm; 
z =/ norm; 
 
should be: 
 
x /= norm; 
y /= norm; 
z /= norm; 
 

By: Martin Baker - martinbaker
file RE: Error in convert Eulers to Axis Angle  
2004-12-23 08:08

Thanks very much, I have made the corrections. 
 
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 Geometry for Computer Graphics:...

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

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