Ejemplo n.º 1
0
 public static Vector3 Rotate(this Vector3 v, Quaternion rot)
 {
     return((rot * new Quaternion(v, 0) * rot.Cnjgt()).Xyz);
 }