diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs index 91eb282d..64ead583 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs @@ -7,17 +7,6 @@ namespace ComputeSharp; /// public partial struct Bool2 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - public Bool2(bool x, bool y) - { - this.x = x ? 1 : 0; - this.y = y ? 1 : 0; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs index 1e1b3c5d..18c20ff9 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool3.cs @@ -7,43 +7,6 @@ namespace ComputeSharp; /// public partial struct Bool3 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - public Bool3(bool x, bool y, bool z) - { - this.x = x ? 1 : 0; - this.y = y ? 1 : 0; - this.z = z ? 1 : 0; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - public Bool3(Bool2 xy, bool z) - { - this.x = xy.X ? 1 : 0; - this.y = xy.Y ? 1 : 0; - this.z = z ? 1 : 0; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second and thirt vector components. - public Bool3(bool x, Bool2 yz) - { - this.x = x ? 1 : 0; - this.y = yz.X ? 1 : 0; - this.z = yz.Y ? 1 : 0; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs index fbcc45d4..32e7408a 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool4.cs @@ -7,88 +7,6 @@ namespace ComputeSharp; /// public partial struct Bool4 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Bool4(bool x, bool y, bool z, bool w) - { - this.x = x ? 1 : 0; - this.y = y ? 1 : 0; - this.z = z ? 1 : 0; - this.w = w ? 1 : 0; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Bool4(Bool2 xy, bool z, bool w) - { - this.x = xy.X ? 1 : 0; - this.y = xy.Y ? 1 : 0; - this.z = z ? 1 : 0; - this.w = w ? 1 : 0; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third and fourth vector components. - public Bool4(bool x, bool y, Bool2 zw) - { - this.x = x ? 1 : 0; - this.y = y ? 1 : 0; - this.z = zw.X ? 1 : 0; - this.w = zw.Y ? 1 : 0; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third and fourth vector components. - public Bool4(Bool2 xy, Bool2 zw) - { - this.x = xy.X ? 1 : 0; - this.y = xy.Y ? 1 : 0; - this.z = zw.X ? 1 : 0; - this.w = zw.Y ? 1 : 0; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first, second and third vector components. - /// The value to assign to the fourth vector component. - public Bool4(Bool3 xyz, bool w) - { - this.x = xyz.X ? 1 : 0; - this.y = xyz.Y ? 1 : 0; - this.z = xyz.Z ? 1 : 0; - this.w = w ? 1 : 0; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second, third and fourth vector components. - public Bool4(bool x, Bool3 yzw) - { - this.x = x ? 1 : 0; - this.y = yzw.X ? 1 : 0; - this.z = yzw.Y ? 1 : 0; - this.w = yzw.Z ? 1 : 0; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Double/Double2.cs b/src/ComputeSharp.Core/Primitives/Double/Double2.cs index 1b5196ca..04a89538 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double2.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double2.cs @@ -7,17 +7,6 @@ namespace ComputeSharp; /// public partial struct Double2 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - public Double2(double x, double y) - { - this.x = x; - this.y = y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Double/Double3.cs b/src/ComputeSharp.Core/Primitives/Double/Double3.cs index 7a913297..39c6c0c5 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double3.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double3.cs @@ -7,43 +7,6 @@ namespace ComputeSharp; /// public partial struct Double3 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - public Double3(double x, double y, double z) - { - this.x = x; - this.y = y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - public Double3(Double2 xy, double z) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second and thirt vector components. - public Double3(double x, Double2 yz) - { - this.x = x; - this.y = yz.X; - this.z = yz.Y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Double/Double4.cs b/src/ComputeSharp.Core/Primitives/Double/Double4.cs index e17e3fce..a1b2f813 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double4.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double4.cs @@ -7,88 +7,6 @@ namespace ComputeSharp; /// public partial struct Double4 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Double4(double x, double y, double z, double w) - { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Double4(Double2 xy, double z, double w) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third and fourth vector components. - public Double4(double x, double y, Double2 zw) - { - this.x = x; - this.y = y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third and fourth vector components. - public Double4(Double2 xy, Double2 zw) - { - this.x = xy.X; - this.y = xy.Y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first, second and third vector components. - /// The value to assign to the fourth vector component. - public Double4(Double3 xyz, double w) - { - this.x = xyz.X; - this.y = xyz.Y; - this.z = xyz.Z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second, third and fourth vector components. - public Double4(double x, Double3 yzw) - { - this.x = x; - this.y = yzw.X; - this.z = yzw.Y; - this.w = yzw.Z; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Float/Float2.cs b/src/ComputeSharp.Core/Primitives/Float/Float2.cs index 8b4f6183..460efc2c 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float2.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float2.cs @@ -9,17 +9,6 @@ namespace ComputeSharp; /// public partial struct Float2 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - public Float2(float x, float y) - { - this.x = x; - this.y = y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Float/Float3.cs b/src/ComputeSharp.Core/Primitives/Float/Float3.cs index 538a6000..7d1e9f0a 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float3.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float3.cs @@ -9,43 +9,6 @@ namespace ComputeSharp; /// public partial struct Float3 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - public Float3(float x, float y, float z) - { - this.x = x; - this.y = y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - public Float3(Float2 xy, float z) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second and thirt vector components. - public Float3(float x, Float2 yz) - { - this.x = x; - this.y = yz.X; - this.z = yz.Y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Float/Float4.cs b/src/ComputeSharp.Core/Primitives/Float/Float4.cs index 3cbe2622..9e4215dc 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float4.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float4.cs @@ -9,88 +9,6 @@ namespace ComputeSharp; /// public partial struct Float4 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Float4(float x, float y, float z, float w) - { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Float4(Float2 xy, float z, float w) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third and fourth vector components. - public Float4(float x, float y, Float2 zw) - { - this.x = x; - this.y = y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third and fourth vector components. - public Float4(Float2 xy, Float2 zw) - { - this.x = xy.X; - this.y = xy.Y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first, second and third vector components. - /// The value to assign to the fourth vector component. - public Float4(Float3 xyz, float w) - { - this.x = xyz.X; - this.y = xyz.Y; - this.z = xyz.Z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second, third and fourth vector components. - public Float4(float x, Float3 yzw) - { - this.x = x; - this.y = yzw.X; - this.z = yzw.Y; - this.w = yzw.Z; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int2.cs b/src/ComputeSharp.Core/Primitives/Int/Int2.cs index 12ff5b0c..f8f4bb0f 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int2.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int2.cs @@ -7,17 +7,6 @@ namespace ComputeSharp; /// public partial struct Int2 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - public Int2(int x, int y) - { - this.x = x; - this.y = y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int3.cs b/src/ComputeSharp.Core/Primitives/Int/Int3.cs index 90c1b94c..9e46b0a9 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int3.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int3.cs @@ -7,43 +7,6 @@ namespace ComputeSharp; /// public partial struct Int3 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - public Int3(int x, int y, int z) - { - this.x = x; - this.y = y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - public Int3(Int2 xy, int z) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second and thirt vector components. - public Int3(int x, Int2 yz) - { - this.x = x; - this.y = yz.X; - this.z = yz.Y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int4.cs b/src/ComputeSharp.Core/Primitives/Int/Int4.cs index 41e6fb60..a3113568 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int4.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int4.cs @@ -7,88 +7,6 @@ namespace ComputeSharp; /// public partial struct Int4 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Int4(int x, int y, int z, int w) - { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public Int4(Int2 xy, int z, int w) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third and fourth vector components. - public Int4(int x, int y, Int2 zw) - { - this.x = x; - this.y = y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third and fourth vector components. - public Int4(Int2 xy, Int2 zw) - { - this.x = xy.X; - this.y = xy.Y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first, second and third vector components. - /// The value to assign to the fourth vector component. - public Int4(Int3 xyz, int w) - { - this.x = xyz.X; - this.y = xyz.Y; - this.z = xyz.Z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second, third and fourth vector components. - public Int4(int x, Int3 yzw) - { - this.x = x; - this.y = yzw.X; - this.z = yzw.Y; - this.w = yzw.Z; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs index 219ced4a..23bc47d5 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt2.cs @@ -7,17 +7,6 @@ namespace ComputeSharp; /// public partial struct UInt2 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - public UInt2(uint x, uint y) - { - this.x = x; - this.y = y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs index 65c4f468..cf82e523 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt3.cs @@ -7,43 +7,6 @@ namespace ComputeSharp; /// public partial struct UInt3 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - public UInt3(uint x, uint y, uint z) - { - this.x = x; - this.y = y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - public UInt3(UInt2 xy, uint z) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second and thirt vector components. - public UInt3(uint x, UInt2 yz) - { - this.x = x; - this.y = yz.X; - this.z = yz.Y; - } - /// /// Creates a new value with the same value for all its components. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs index a7b776b1..93c1eca1 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt4.cs @@ -7,88 +7,6 @@ namespace ComputeSharp; /// public partial struct UInt4 { - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public UInt4(uint x, uint y, uint z, uint w) - { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third vector component. - /// The value to assign to the fourth vector component. - public UInt4(UInt2 xy, uint z, uint w) - { - this.x = xy.X; - this.y = xy.Y; - this.z = z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second vector component. - /// The value to assign to the third and fourth vector components. - public UInt4(uint x, uint y, UInt2 zw) - { - this.x = x; - this.y = y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first and second vector components. - /// The value to assign to the third and fourth vector components. - public UInt4(UInt2 xy, UInt2 zw) - { - this.x = xy.X; - this.y = xy.Y; - this.z = zw.X; - this.w = zw.Y; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first, second and third vector components. - /// The value to assign to the fourth vector component. - public UInt4(UInt3 xyz, uint w) - { - this.x = xyz.X; - this.y = xyz.Y; - this.z = xyz.Z; - this.w = w; - } - - /// - /// Creates a new instance with the specified parameters. - /// - /// The value to assign to the first vector component. - /// The value to assign to the second, third and fourth vector components. - public UInt4(uint x, UInt3 yzw) - { - this.x = x; - this.y = yzw.X; - this.z = yzw.Y; - this.w = yzw.Z; - } - /// /// Creates a new value with the same value for all its components. ///