mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
add alias to real part of quaternion
This commit is contained in:
parent
8c4a37059d
commit
0d79101605
@ -58,8 +58,12 @@ typedef struct mat_3x3_
|
||||
* 3D vector \f$\left(q_1,q_2,q_3\right)\f$
|
||||
*/
|
||||
typedef struct quaternion_
|
||||
{
|
||||
union
|
||||
{
|
||||
float w; /**< real part of quaternion */
|
||||
float q0; /**< real part of quaternion */
|
||||
};
|
||||
/**< dual part of quaternion */
|
||||
union
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user