Skip to content

et_Quat

DeveloperGY edited this page Apr 13, 2023 · 1 revision

Declaration

typedef struct s_Quaternion
{
    float w;
    float i;
    float j;
    float k;
} et_Quat;

Members

float w: The scalar component of the quaternion
float i: The coefficient of $i$ in the quaternion
float j: The coefficient of $j$ in the quaternion
float k: The coefficient of $k$ in the quaternion

Description

et_Quat represents a quaternion defined as $q = w + ai + bj + ck$

Clone this wiki locally