Exemple #1
0
 /// <summary>
 /// Converts a remote <see cref="ARRQuaternion"/> into a <see cref="EvergineQuaternion"/>.
 /// </summary>
 /// <param name="input">The quaternion to be converted.</param>
 /// <param name="output">The converted quaternion.</param>
 public static void ToEvergine(this ARRQuaternion input, out EvergineQuaternion output)
 {
     output.X = input.X;
     output.Y = input.Y;
     output.Z = input.Z;
     output.W = input.W;
 }
Exemple #2
0
 /// <summary>
 /// Converts a <see cref="EvergineQuaternion"/> into a remote <see cref="ARRQuaternion"/>.
 /// </summary>
 /// <param name="input">The quaternion to be converted.</param>
 /// <returns>The converted quaternion.</returns>
 public static ARRQuaternion ToRemote(this EvergineQuaternion input)
 {
     input.ToRemote(out ARRQuaternion output);
     return(output);
 }
Exemple #3
0
 /// <summary>
 /// Converts a <see cref="EvergineQuaternion"/> into a remote <see cref="ARRQuaternion"/>.
 /// </summary>
 /// <param name="input">The quaternion to be converted.</param>
 /// <param name="output">The converted quaternion.</param>
 public static void ToRemote(this EvergineQuaternion input, out ARRQuaternion output)
 {
     output = new ARRQuaternion(input.X, input.Y, input.Z, input.W);
 }