Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 27 March 2012 - 04:17 AM
Posted 27 March 2012 - 05:04 AM
Posted 28 March 2012 - 03:48 AM
Posted 28 March 2012 - 07:22 AM
Posted 29 March 2012 - 06:27 PM
Posted 29 March 2012 - 06:41 PM
float q0 = q->getReal(); //w float q1 = q->getImag().getComponent(0); //x float q2 = q->getImag().getComponent(1); //y float q3 = q->getImag().getComponent(2); //z float euler_x = atan2(2.0*(q0*q1+q2*q3),1.0-2.0*(q1*q1 + q2*q2)); float euler_y = asin(2.0*(q0*q2-q3*q1)); float euler_z = atan2(2.0*(q0*q3+q1*q2),1.0-2.0*(q2*q2+q3*q3));
Posted 29 March 2012 - 09:39 PM
Posted 30 March 2012 - 12:44 PM
Posted 30 March 2012 - 02:32 PM
Posted 30 March 2012 - 05:19 PM
Posted 01 April 2012 - 06:08 AM
Posted 01 April 2012 - 08:02 AM
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.