|
|
|
@ -232,7 +232,10 @@ public:
@@ -232,7 +232,10 @@ public:
|
|
|
|
|
// create a rotation matrix from Euler angles
|
|
|
|
|
void from_euler(float roll, float pitch, float yaw); |
|
|
|
|
|
|
|
|
|
// create eulers from a rotation matrix
|
|
|
|
|
// create eulers from a rotation matrix.
|
|
|
|
|
// roll is from -Pi to Pi
|
|
|
|
|
// pitch is from -Pi/2 to Pi/2
|
|
|
|
|
// yaw is from -Pi to Pi
|
|
|
|
|
void to_euler(float *roll, float *pitch, float *yaw) const; |
|
|
|
|
|
|
|
|
|
// create matrix from rotation enum
|
|
|
|
|