/// <summary> /// Initializes a new instance of the <see cref="T:DXPlayground.Mathematics.Half3" /> structure. /// </summary> /// <param name="value">The value to set for the X, Y, and Z components.</param> public Half3(Half value) { X = value; Y = value; Z = value; }
/// <summary> /// Initializes a new instance of the <see cref="T:DXPlayground.Mathematics.Half3" /> structure. /// </summary> /// <param name="x">The X component.</param> /// <param name="y">The Y component.</param> /// <param name="z">The Z component.</param> public Half3(float x, float y, float z) { X = new Half(x); Y = new Half(y); Z = new Half(z); }
/// <summary> /// Initializes a new instance of the <see cref="T:DXPlayground.Mathematics.Half3" /> structure. /// </summary> /// <param name="x">The X component.</param> /// <param name="y">The Y component.</param> /// <param name="z">The Z component.</param> public Half3(ushort x, ushort y, ushort z) { X = new Half(x); Y = new Half(y); Z = new Half(z); }
/// <summary> /// Initializes a new instance of the <see cref="T:DXPlayground.Mathematics.Half3" /> structure. /// </summary> /// <param name="x">The X component.</param> /// <param name="y">The Y component.</param> /// <param name="z">The Z component.</param> public Half3(Half x, Half y, Half z) { X = x; Y = y; Z = z; }