EVGA GTX 580 Classified Utra Review
0 Members and 1 Guest are viewing this topic.
sm_quat q(axis, theta);vec3 result = q.rotate(v);
quat p(1.0, v.x, v.y, v.z);quat q(cos(theta/2), axis.x*sin(theta/2), axis.y*sin(theta/2), axis.z*sin(theta/2));quat result = cross(cross(q, p), conjugate(q));