VRageMath.Quaternion.CreateFromAxisAngle - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← Quaternion
public static Quaternion CreateFromAxisAngle(Vector3 axis, float angle)
Creates a Quaternion from a vector and an angle to rotate about the vector.
public static void CreateFromAxisAngle(ref Vector3 axis, float angle, out Quaternion result)
Creates a Quaternion from a vector and an angle to rotate about the vector.
- Vector3 axis
- float angle
- Quaternion result