Exemple #1
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="v">The Vector4ui to copy.</param>
 public Vector3ui(Vector4ui v)
 {
     X = v.X;
     Y = v.Y;
     Z = v.Z;
 }
Exemple #2
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="v">The Vector4ui to copy.</param>
 public Vector3i(Vector4ui v)
 {
     X = (int)v.X;
     Y = (int)v.Y;
     Z = (int)v.Z;
 }
Exemple #3
0
 /// <summary>
 /// Constructs a new Vector2f from the given Vector4ui.
 /// </summary>
 /// <param name="v">The Vector4ui to copy components from.</param>
 public Vector2f(Vector4ui vec)
 {
     X = vec.X;
     Y = vec.Y;
 }
Exemple #4
0
 /// <summary>
 /// Constructs a new Vector3d from the given Vector4ui.
 /// </summary>
 /// <param name="v">The Vector4ui to copy components from.</param>
 public Vector3d(Vector4ui vec)
 {
     X = vec.X;
     Y = vec.Y;
     Z = vec.Z;
 }
Exemple #5
0
 /// <summary>
 /// Constructs a new Vector2f from the given Vector4ui.
 /// </summary>
 /// <param name="v">The Vector4ui to copy components from.</param>
 public Vector2i(Vector4ui vec)
 {
     X = (int)vec.X;
     Y = (int)vec.Y;
 }
Exemple #6
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="v">The instance of Vector4ui to copy.</param>
 public Vector2ui(Vector4ui v)
 {
     X = v.X;
     Y = v.Y;
 }