Auki::Ark::QuaternionExtensions
A static class containing extension methods for the Quaternion type.
Public Functions
Name | |
---|---|
Quaternion | FromToOpenGLUnityConvention(this Quaternion openGlOrUnityTransformQuaternion) This converts Quaternion from OpenGL to Unity or vice-versa. Basically, flips the x- and y-values. |
Public Functions Documentation
function FromToOpenGLUnityConvention
static Quaternion FromToOpenGLUnityConvention(
this Quaternion openGlOrUnityTransformQuaternion
)
This converts Quaternion from OpenGL to Unity or vice-versa. Basically, flips the x- and y-values.
Parameters:
- openGlOrUnityTransformQuaternion
Return: The converted Vector3.