Example #1
0
 /// <summary>
 /// Constructs a new Vector4ui from the given Vector2ui.
 /// </summary>
 /// <param name="v">The Vector2ui to copy components from.</param>
 public Vector4ui(Vector2ui v)
 {
     X = v.X;
     Y = v.Y;
     Z = 0;
     W = 0;
 }
Example #2
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="xy">The Vector2ui to use for x and y coordinates.</param>
 /// <param name="z">The z coordinates.</param>
 public Vector3ui(Vector2ui xy, uint z)
 {
     X = xy.X;
     Y = xy.Y;
     Z = z;
 }
Example #3
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="v">The Vector3ui to copy.</param>
 public Vector3ui(Vector2ui v)
 {
     X = v.X;
     Y = v.Y;
     Z = 0;
 }
Example #4
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="v">The Vector2ui to use for x and y coordinates.</param>
 /// <param name="z">The z coordinates.</param>
 public Vector3i(Vector2ui v, int z)
 {
     X = (int)v.X;
     Y = (int)v.Y;
     Z = z;
 }
Example #5
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="v">The Vector2i to copy.</param>
 public Vector3i(Vector2ui v)
 {
     X = (int)v.X;
     Y = (int)v.Y;
     Z = 0;
 }
Example #6
0
 /// <summary>
 /// Constructs a new Vector2f from the given Vector2ui.
 /// </summary>
 /// <param name="v">The Vector2ui to copy components from.</param>
 public Vector2f(Vector2ui vec)
 {
     X = vec.X;
     Y = vec.Y;
 }
Example #7
0
 /// <summary>
 /// Constructs a new Vector3d from the given Vector2ui.
 /// </summary>
 /// <param name="v">The Vector2ui to copy components from.</param>
 public Vector3d(Vector2ui vec)
 {
     X = vec.X;
     Y = vec.Y;
     Z = 0f;
 }
Example #8
0
 /// <summary>
 /// Constructs a new Vector2f from the given Vector2ui.
 /// </summary>
 /// <param name="v">The Vector2ui to copy components from.</param>
 public Vector2i(Vector2ui vec)
 {
     X = (int)vec.X;
     Y = (int)vec.Y;
 }