mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-22 05:21:49 +03:00
add alias to real part of quaternion
This commit is contained in:
parent
8c4a37059d
commit
0d79101605
@ -59,7 +59,11 @@ typedef struct mat_3x3_
|
||||
*/
|
||||
typedef struct quaternion_
|
||||
{
|
||||
float w; /**< real part of 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