Lines Matching refs:m
32 rsQuaternionGetMatrixUnit(rs_matrix4x4* m, const rs_quaternion* q) { in rsQuaternionGetMatrixUnit() argument
43 m->m[0] = 1.0f - 2.0f * ( yy + zz ); in rsQuaternionGetMatrixUnit()
44 m->m[4] = 2.0f * ( xy - zw ); in rsQuaternionGetMatrixUnit()
45 m->m[8] = 2.0f * ( xz + yw ); in rsQuaternionGetMatrixUnit()
46 m->m[1] = 2.0f * ( xy + zw ); in rsQuaternionGetMatrixUnit()
47 m->m[5] = 1.0f - 2.0f * ( xx + zz ); in rsQuaternionGetMatrixUnit()
48 m->m[9] = 2.0f * ( yz - xw ); in rsQuaternionGetMatrixUnit()
49 m->m[2] = 2.0f * ( xz - yw ); in rsQuaternionGetMatrixUnit()
50 m->m[6] = 2.0f * ( yz + xw ); in rsQuaternionGetMatrixUnit()
51 m->m[10] = 1.0f - 2.0f * ( xx + yy ); in rsQuaternionGetMatrixUnit()
52 m->m[3] = m->m[7] = m->m[11] = m->m[12] = m->m[13] = m->m[14] = 0.0f; in rsQuaternionGetMatrixUnit()
53 m->m[15] = 1.0f; in rsQuaternionGetMatrixUnit()