logo back up home forward   further reading more topics »

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

By: nobody ( Nobody/Anonymous )
file error in Axis-Angle to Euler  
2003-07-01 01:35

You have:
qx*qz = x * z * sin^2(angle/2) = x * z * (1 - cos (angle))

I think that it should be:
qx*qz = x * z * sin^2(angle/2) = x * z * (.5 - .5*cos (angle*2))

That error was propigated down to the simplified version of attitude.


But thank you very much for putting up all your work, your pages have saved me a lot of time!

By: martinbaker ( Martin Baker )
file RE: error in Axis-Angle to Euler  
2003-07-01 21:08

Thank you very much for this correction.

I am especially grateful because it seems to have simplified the final equations!
I have updated the web page.

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.

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to the software project, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

cover Dark Basic Professional Edition - It is better to get this professional edition

cover This is a version of basic designed for building games, for example to rotate a cube you might do the following:
make object cube 1,100
for x=1 to 360
rotate object 1,x,x,0
next x

cover Game Programming with Darkbasic - book for above software

Can you help?

Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page.

 

progam

I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here:

http://sourceforge.net/projects/mjbworld/

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

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