Skip to content

Commit beac54d

Browse files
committed
Remove extra INumberBase extensions.
1 parent 883061c commit beac54d

4 files changed

Lines changed: 0 additions & 45 deletions

File tree

sources/Maths/Maths/PublicAPI/net10.0/PublicAPI.Unshipped.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,11 +1404,9 @@ static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).
14041404
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).NegativeInfinity.get -> Silk.NET.Maths.Vector2D<TSelf>
14051405
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).NegativeOne.get -> Silk.NET.Maths.Vector2D<TSelf>
14061406
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).NegativeZero.get -> Silk.NET.Maths.Vector2D<TSelf>
1407-
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).One.get -> Silk.NET.Maths.Vector2D<TSelf>
14081407
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).Pi.get -> Silk.NET.Maths.Vector2D<TSelf>
14091408
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).PositiveInfinity.get -> Silk.NET.Maths.Vector2D<TSelf>
14101409
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).Tau.get -> Silk.NET.Maths.Vector2D<TSelf>
1411-
static Silk.NET.Maths.Vector2D.extension<TSelf>(Silk.NET.Maths.Vector2D<TSelf>).Zero.get -> Silk.NET.Maths.Vector2D<TSelf>
14121410
static Silk.NET.Maths.Vector2D.Floor<TSelf>(Silk.NET.Maths.Vector2D<TSelf> x) -> Silk.NET.Maths.Vector2D<TSelf>
14131411
static Silk.NET.Maths.Vector2D.FloorToInt<T>(Silk.NET.Maths.Vector2D<T> vector) -> Silk.NET.Maths.Vector2D<int>
14141412
static Silk.NET.Maths.Vector2D.FusedMultiplyAdd<TSelf>(Silk.NET.Maths.Vector2D<TSelf> left, Silk.NET.Maths.Vector2D<TSelf> right, Silk.NET.Maths.Vector2D<TSelf> addend) -> Silk.NET.Maths.Vector2D<TSelf>
@@ -1426,11 +1424,9 @@ static Silk.NET.Maths.Vector2D.get_NaN<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf
14261424
static Silk.NET.Maths.Vector2D.get_NegativeInfinity<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
14271425
static Silk.NET.Maths.Vector2D.get_NegativeOne<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
14281426
static Silk.NET.Maths.Vector2D.get_NegativeZero<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
1429-
static Silk.NET.Maths.Vector2D.get_One<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
14301427
static Silk.NET.Maths.Vector2D.get_Pi<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
14311428
static Silk.NET.Maths.Vector2D.get_PositiveInfinity<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
14321429
static Silk.NET.Maths.Vector2D.get_Tau<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
1433-
static Silk.NET.Maths.Vector2D.get_Zero<TSelf>() -> Silk.NET.Maths.Vector2D<TSelf>
14341430
static Silk.NET.Maths.Vector2D.Hypot<TSelf>(Silk.NET.Maths.Vector2D<TSelf> x, Silk.NET.Maths.Vector2D<TSelf> y) -> Silk.NET.Maths.Vector2D<TSelf>
14351431
static Silk.NET.Maths.Vector2D.Hypot<TSelf>(Silk.NET.Maths.Vector2D<TSelf> x, TSelf y) -> Silk.NET.Maths.Vector2D<TSelf>
14361432
static Silk.NET.Maths.Vector2D.Ieee754Remainder<TSelf>(Silk.NET.Maths.Vector2D<TSelf> left, Silk.NET.Maths.Vector2D<TSelf> right) -> Silk.NET.Maths.Vector2D<TSelf>
@@ -1655,11 +1651,9 @@ static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).
16551651
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).NegativeInfinity.get -> Silk.NET.Maths.Vector3D<TSelf>
16561652
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).NegativeOne.get -> Silk.NET.Maths.Vector3D<TSelf>
16571653
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).NegativeZero.get -> Silk.NET.Maths.Vector3D<TSelf>
1658-
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).One.get -> Silk.NET.Maths.Vector3D<TSelf>
16591654
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).Pi.get -> Silk.NET.Maths.Vector3D<TSelf>
16601655
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).PositiveInfinity.get -> Silk.NET.Maths.Vector3D<TSelf>
16611656
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).Tau.get -> Silk.NET.Maths.Vector3D<TSelf>
1662-
static Silk.NET.Maths.Vector3D.extension<TSelf>(Silk.NET.Maths.Vector3D<TSelf>).Zero.get -> Silk.NET.Maths.Vector3D<TSelf>
16631657
static Silk.NET.Maths.Vector3D.Floor<TSelf>(Silk.NET.Maths.Vector3D<TSelf> x) -> Silk.NET.Maths.Vector3D<TSelf>
16641658
static Silk.NET.Maths.Vector3D.FloorToInt<T>(Silk.NET.Maths.Vector3D<T> vector) -> Silk.NET.Maths.Vector3D<int>
16651659
static Silk.NET.Maths.Vector3D.FusedMultiplyAdd<TSelf>(Silk.NET.Maths.Vector3D<TSelf> left, Silk.NET.Maths.Vector3D<TSelf> right, Silk.NET.Maths.Vector3D<TSelf> addend) -> Silk.NET.Maths.Vector3D<TSelf>
@@ -1677,11 +1671,9 @@ static Silk.NET.Maths.Vector3D.get_NaN<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf
16771671
static Silk.NET.Maths.Vector3D.get_NegativeInfinity<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
16781672
static Silk.NET.Maths.Vector3D.get_NegativeOne<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
16791673
static Silk.NET.Maths.Vector3D.get_NegativeZero<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
1680-
static Silk.NET.Maths.Vector3D.get_One<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
16811674
static Silk.NET.Maths.Vector3D.get_Pi<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
16821675
static Silk.NET.Maths.Vector3D.get_PositiveInfinity<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
16831676
static Silk.NET.Maths.Vector3D.get_Tau<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
1684-
static Silk.NET.Maths.Vector3D.get_Zero<TSelf>() -> Silk.NET.Maths.Vector3D<TSelf>
16851677
static Silk.NET.Maths.Vector3D.Hypot<TSelf>(Silk.NET.Maths.Vector3D<TSelf> x, Silk.NET.Maths.Vector3D<TSelf> y) -> Silk.NET.Maths.Vector3D<TSelf>
16861678
static Silk.NET.Maths.Vector3D.Hypot<TSelf>(Silk.NET.Maths.Vector3D<TSelf> x, TSelf y) -> Silk.NET.Maths.Vector3D<TSelf>
16871679
static Silk.NET.Maths.Vector3D.Ieee754Remainder<TSelf>(Silk.NET.Maths.Vector3D<TSelf> left, Silk.NET.Maths.Vector3D<TSelf> right) -> Silk.NET.Maths.Vector3D<TSelf>
@@ -1910,11 +1902,9 @@ static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).
19101902
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).NegativeInfinity.get -> Silk.NET.Maths.Vector4D<TSelf>
19111903
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).NegativeOne.get -> Silk.NET.Maths.Vector4D<TSelf>
19121904
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).NegativeZero.get -> Silk.NET.Maths.Vector4D<TSelf>
1913-
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).One.get -> Silk.NET.Maths.Vector4D<TSelf>
19141905
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).Pi.get -> Silk.NET.Maths.Vector4D<TSelf>
19151906
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).PositiveInfinity.get -> Silk.NET.Maths.Vector4D<TSelf>
19161907
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).Tau.get -> Silk.NET.Maths.Vector4D<TSelf>
1917-
static Silk.NET.Maths.Vector4D.extension<TSelf>(Silk.NET.Maths.Vector4D<TSelf>).Zero.get -> Silk.NET.Maths.Vector4D<TSelf>
19181908
static Silk.NET.Maths.Vector4D.Floor<TSelf>(Silk.NET.Maths.Vector4D<TSelf> x) -> Silk.NET.Maths.Vector4D<TSelf>
19191909
static Silk.NET.Maths.Vector4D.FloorToInt<T>(Silk.NET.Maths.Vector4D<T> vector) -> Silk.NET.Maths.Vector4D<int>
19201910
static Silk.NET.Maths.Vector4D.FusedMultiplyAdd<TSelf>(Silk.NET.Maths.Vector4D<TSelf> left, Silk.NET.Maths.Vector4D<TSelf> right, Silk.NET.Maths.Vector4D<TSelf> addend) -> Silk.NET.Maths.Vector4D<TSelf>
@@ -1932,11 +1922,9 @@ static Silk.NET.Maths.Vector4D.get_NaN<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf
19321922
static Silk.NET.Maths.Vector4D.get_NegativeInfinity<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
19331923
static Silk.NET.Maths.Vector4D.get_NegativeOne<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
19341924
static Silk.NET.Maths.Vector4D.get_NegativeZero<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
1935-
static Silk.NET.Maths.Vector4D.get_One<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
19361925
static Silk.NET.Maths.Vector4D.get_Pi<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
19371926
static Silk.NET.Maths.Vector4D.get_PositiveInfinity<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
19381927
static Silk.NET.Maths.Vector4D.get_Tau<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
1939-
static Silk.NET.Maths.Vector4D.get_Zero<TSelf>() -> Silk.NET.Maths.Vector4D<TSelf>
19401928
static Silk.NET.Maths.Vector4D.Hypot<TSelf>(Silk.NET.Maths.Vector4D<TSelf> x, Silk.NET.Maths.Vector4D<TSelf> y) -> Silk.NET.Maths.Vector4D<TSelf>
19411929
static Silk.NET.Maths.Vector4D.Hypot<TSelf>(Silk.NET.Maths.Vector4D<TSelf> x, TSelf y) -> Silk.NET.Maths.Vector4D<TSelf>
19421930
static Silk.NET.Maths.Vector4D.Ieee754Remainder<TSelf>(Silk.NET.Maths.Vector4D<TSelf> left, Silk.NET.Maths.Vector4D<TSelf> right) -> Silk.NET.Maths.Vector4D<TSelf>

sources/Maths/Maths/Vector2D.Ops.gen.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,6 @@ public static partial class Vector2D
8080
public static Vector2D<TSelf> MaxValue => new(TSelf.MaxValue);
8181
}
8282

83-
/// <summary>Extensions for vectors with elements implementing <see cref="INumberBase{TSelf}"/>.</summary>
84-
extension<TSelf>(Vector2D<TSelf> vector)
85-
where TSelf : INumberBase<TSelf>
86-
{
87-
/// <summary>Gets a vector with all components set to <see cref="INumberBase{TSelf}.One"/>.</summary>
88-
public static Vector2D<TSelf> One => new(TSelf.One);
89-
90-
/// <summary>Gets a vector with all components set to <see cref="INumberBase{TSelf}.Zero"/>.</summary>
91-
public static Vector2D<TSelf> Zero => new(TSelf.Zero);
92-
}
93-
9483
/// <summary>Extensions for vectors with elements implementing <see cref="ISignedNumber{TSelf}"/>.</summary>
9584
extension<TSelf>(Vector2D<TSelf> vector)
9685
where TSelf : INumberBase<TSelf>, ISignedNumber<TSelf>

sources/Maths/Maths/Vector3D.Ops.gen.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,6 @@ public static partial class Vector3D
8080
public static Vector3D<TSelf> MaxValue => new(TSelf.MaxValue);
8181
}
8282

83-
/// <summary>Extensions for vectors with elements implementing <see cref="INumberBase{TSelf}"/>.</summary>
84-
extension<TSelf>(Vector3D<TSelf> vector)
85-
where TSelf : INumberBase<TSelf>
86-
{
87-
/// <summary>Gets a vector with all components set to <see cref="INumberBase{TSelf}.One"/>.</summary>
88-
public static Vector3D<TSelf> One => new(TSelf.One);
89-
90-
/// <summary>Gets a vector with all components set to <see cref="INumberBase{TSelf}.Zero"/>.</summary>
91-
public static Vector3D<TSelf> Zero => new(TSelf.Zero);
92-
}
93-
9483
/// <summary>Extensions for vectors with elements implementing <see cref="ISignedNumber{TSelf}"/>.</summary>
9584
extension<TSelf>(Vector3D<TSelf> vector)
9685
where TSelf : INumberBase<TSelf>, ISignedNumber<TSelf>

sources/Maths/Maths/Vector4D.Ops.gen.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,6 @@ public static partial class Vector4D
8080
public static Vector4D<TSelf> MaxValue => new(TSelf.MaxValue);
8181
}
8282

83-
/// <summary>Extensions for vectors with elements implementing <see cref="INumberBase{TSelf}"/>.</summary>
84-
extension<TSelf>(Vector4D<TSelf> vector)
85-
where TSelf : INumberBase<TSelf>
86-
{
87-
/// <summary>Gets a vector with all components set to <see cref="INumberBase{TSelf}.One"/>.</summary>
88-
public static Vector4D<TSelf> One => new(TSelf.One);
89-
90-
/// <summary>Gets a vector with all components set to <see cref="INumberBase{TSelf}.Zero"/>.</summary>
91-
public static Vector4D<TSelf> Zero => new(TSelf.Zero);
92-
}
93-
9483
/// <summary>Extensions for vectors with elements implementing <see cref="ISignedNumber{TSelf}"/>.</summary>
9584
extension<TSelf>(Vector4D<TSelf> vector)
9685
where TSelf : INumberBase<TSelf>, ISignedNumber<TSelf>

0 commit comments

Comments
 (0)