/// <summary>
 /// Returns a quaternion in barycentric coordinates.
 /// </summary>
 /// <param name="q1">Source Quaternion.</param>
 /// <param name="q2">Source Quaternion.</param>
 /// <param name="q3">Source Quaternion.</param>
 /// <param name="f">Weighting factor.</param>
 /// <param name="g">Weighting factor.</param>
 /// <returns>Resulting Quaternion in barycentric coordinates.</returns>
 public static TGCQuaternion BaryCentric(TGCQuaternion q1, TGCQuaternion q2, TGCQuaternion q3, float f, float g)
 {
     return(new TGCQuaternion(Quaternion.BaryCentric(q1.ToQuaternion(), q2.ToQuaternion(), q3.ToQuaternion(), f, g)));
 }