/// <summary>
 /// Converts a Core <see cref="FGECore.MathHelpers.Quaternion"/> to an OpenTK <see cref="Quaterniond"/>.
 /// </summary>
 /// <param name="quat">The Core <see cref="FGECore.MathHelpers.Quaternion"/>.</param>
 /// <returns>The OpenTK <see cref="Quaterniond"/>.</returns>
 public static Quaterniond ToOpenTKDoubles(this FGECore.MathHelpers.Quaternion quat)
 {
     return(new Quaterniond(quat.X, quat.Y, quat.Z, quat.W));
 }
 /// <summary>
 /// Converts a Core <see cref="FGECore.MathHelpers.Quaternion"/> to an OpenTK <see cref="OpenTK.Quaternion"/>.
 /// </summary>
 /// <param name="quat">The Core <see cref="FGECore.MathHelpers.Quaternion"/>.</param>
 /// <returns>The OpenTK <see cref="OpenTK.Quaternion"/>.</returns>
 public static OpenTK.Quaternion ToOpenTK(this FGECore.MathHelpers.Quaternion quat)
 {
     return(new OpenTK.Quaternion((float)quat.X, (float)quat.Y, (float)quat.Z, (float)quat.W));
 }