Home | History | Annotate | Download | only in src

Lines Matching defs:rot

84     Matrix4x4 rot;
105 rot[0*4 + 0] = xx + (1.f - xx) * c;
106 rot[1*4 + 0] = xy * one_c - zs;
107 rot[2*4 + 0] = xz * one_c + ys;
108 rot[3*4 + 0] = 0.f;
110 rot[0*4 + 1] = xy * one_c + zs;
111 rot[1*4 + 1] = yy + (1.f - yy) * c;
112 rot[2*4 + 1] = yz * one_c - xs;
113 rot[3*4 + 1] = 0.f;
115 rot[0*4 + 2] = xz * one_c - ys;
116 rot[1*4 + 2] = yz * one_c + xs;
117 rot[2*4 + 2] = zz + (1.f - zz) * c;
118 rot[3*4 + 2] = 0.f;
120 rot[0*4 + 3] = 0.f;
121 rot[1*4 + 3] = 0.f;
122 rot[2*4 + 3] = 0.f;
123 rot[3*4 + 3] = 1.f;
125 Matrix4x4_Multiply(mat, rot, mat);