Lines Matching refs:z

16     q->z += rhs->z;  in rsQuaternionAdd()
23 q->z = -q->z; in rsQuaternionConjugate()
28 return q0->w*q1->w + q0->x*q1->x + q0->y*q1->y + q0->z*q1->z; in rsQuaternionDot()
35 float xz = q->x * q->z; in rsQuaternionGetMatrixUnit()
38 float yz = q->y * q->z; in rsQuaternionGetMatrixUnit()
40 float zz = q->z * q->z; in rsQuaternionGetMatrixUnit()
41 float zw = q->z * q->w; in rsQuaternionGetMatrixUnit()
57 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotateUnit() argument
65 q->z = z * s; in rsQuaternionLoadRotateUnit()
69 rsQuaternionSet(rs_quaternion* q, float w, float x, float y, float z) { in rsQuaternionSet() argument
73 q->z = z; in rsQuaternionSet()
81 q->z = rhs->z; in rsQuaternionSet()
85 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotate() argument
86 const float len = x*x + y*y + z*z; in rsQuaternionLoadRotate()
91 z *= recipLen; in rsQuaternionLoadRotate()
93 rsQuaternionLoadRotateUnit(q, rot, x, y, z); in rsQuaternionLoadRotate()
104 q->z *= recipLen; in rsQuaternionNormalize()
113 q->z *= scalar; in rsQuaternionMultiply()
121 q->w = qtmp.w*rhs->w - qtmp.x*rhs->x - qtmp.y*rhs->y - qtmp.z*rhs->z; in rsQuaternionMultiply()
122 q->x = qtmp.w*rhs->x + qtmp.x*rhs->w + qtmp.y*rhs->z - qtmp.z*rhs->y; in rsQuaternionMultiply()
123 q->y = qtmp.w*rhs->y + qtmp.y*rhs->w + qtmp.z*rhs->x - qtmp.x*rhs->z; in rsQuaternionMultiply()
124 q->z = qtmp.w*rhs->z + qtmp.z*rhs->w + qtmp.x*rhs->y - qtmp.y*rhs->x; in rsQuaternionMultiply()
161 rsQuaternionSet(&tempq1, tempq0.z, -tempq0.y, tempq0.x, -tempq0.w); in rsQuaternionSlerp()
167 tempq0.y*scale + tempq1.y*invScale, tempq0.z*scale + tempq1.z*invScale); in rsQuaternionSlerp()