Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
|
a Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\) More...
#include <geometry_datatypes.h>
Data Fields | |
union { | |
float w | |
real part of quaternion | |
float q0 | |
real part of quaternion | |
}; | |
dual part of quaternion | |
union { | |
vec_3d dual | |
can be a 3D vector | |
struct { | |
float q1 | |
float q2 | |
float q3 | |
} | |
or individual values | |
}; | |
a Quaternion type represented using a scalar \(w\) or \(q_0\) and a 3D vector \(\left(q_1,q_2,q_3\right)\)