Example #1
0
 public static Vector3 InUnityCoord(this NormalizedPoint3D value)
 {
     return(new Vector3(-value.X, value.Y, value.Z));
 }
Example #2
0
 /// <summary>
 /// Convert <see cref="NormalizedPoint3D"/> to <see cref="Vector3"/> without modification.
 /// </summary>
 /// <param name="value">The <see cref="NormalizedPoint3D"/> value</param>
 /// <returns>The <see cref="Vector3"/> converted value.</returns>
 public static Vector3 ToVector3(this NormalizedPoint3D value)
 {
     return(new Vector3(value.X, value.Y, value.Z));
 }