Lines Matching refs:q2
244 * NOTE: This routine is written so that q1 or q2 may be the same
251 add_quats(const float q1[4], const float q2[4], float dest[4])
259 printf("q2 = %f %f %f %f\n", q2[0], q2[1], q2[2], q2[3]);
263 vscale(t1,q2[3]);
265 vcopy(q2,t2);
268 vcross(q2,q1,t3);
271 tf[3] = q1[3] * q2[3] - vdot(q1,q2);