Ask Your Question

Angles for quaternion converter

asked 2011-11-02 05:16:20 -0500

alfa_80 gravatar image

updated 2014-01-28 17:10:41 -0500

ngrennan gravatar image

I was referring to an API documentation on Quarternion related stuff. I want to use the last constructor which is written "Constructor from Euler angles". The constructor itself is as below:

btQuaternion::btQuaternion ( const btScalar & yaw,
                             const btScalar & pitch,
                             const btScalar & roll   

My question is regarding the angles. Should the angles in the input argument be in degree or radian?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-11-02 05:20:21 -0500

Always radians, degree are never used.

edit flag offensive delete link more

answered 2011-11-02 05:21:08 -0500

tfoote gravatar image

Radians. They are the standard, see REP 103

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-02 05:16:20 -0500

Seen: 1,061 times

Last updated: Nov 02 '11