add alias to real part of quaternion

This commit is contained in:
Krishna Vedala 2020-08-17 14:01:38 -04:00
parent 8c4a37059d
commit 0d79101605
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7
1 changed files with 5 additions and 1 deletions

View File

@ -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
{