FromQuaternion() public static method

public static FromQuaternion ( Quaternion quaternion ) : Matrix4
quaternion Quaternion
return Matrix4
Beispiel #1
0
 public static void FromRotationAxis(ref Vector3 axis, float angle, out Matrix4 result)
 {
     Core.Quaternion quaternion;
     Core.Quaternion.FromRotationAxis(ref axis, angle, out quaternion);
     Matrix4.FromQuaternion(ref quaternion, out result);
 }
Beispiel #2
0
 public Matrix4 FromRotationAxis(Vector3 axis, float angle)
 {
     Core.Quaternion quaternion;
     Core.Quaternion.FromRotationAxis(ref axis, angle, out quaternion);
     return(Matrix4.FromQuaternion(quaternion));
 }