@@ -6954,6 +6954,24 @@ public bool IsInfinity
6954
6954
get => AnyInfinity;
6955
6955
}
6956
6956
6957
+ /// <summary>
6958
+ /// Returns true if any component of the color is infinite and positive, false otherwise.
6959
+ /// </summary>
6960
+ public bool IsPositiveInfinity
6961
+ {
6962
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
6963
+ get => AnyPositiveInfinity;
6964
+ }
6965
+
6966
+ /// <summary>
6967
+ /// Returns true if any component of the color is infinite and negative, false otherwise.
6968
+ /// </summary>
6969
+ public bool IsNegativeInfinity
6970
+ {
6971
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
6972
+ get => AnyNegativeInfinity;
6973
+ }
6974
+
6957
6975
/// <summary>
6958
6976
/// Returns whether all components of the color are finite (i.e. not NaN and not infinity).
6959
6977
/// </summary>
@@ -8020,6 +8038,20 @@ public static bool IsNaN(C3f c)
8020
8038
public static bool IsInfinity(C3f c)
8021
8039
=> c.IsInfinity;
8022
8040
8041
+ /// <summary>
8042
+ /// Returns whether any component of the the given <see cref="C3f"/> is positive infinity.
8043
+ /// </summary>
8044
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
8045
+ public static bool IsPositiveInfinity(C3f c)
8046
+ => c.IsPositiveInfinity;
8047
+
8048
+ /// <summary>
8049
+ /// Returns whether any component of the the given <see cref="C3f"/> is negative infinity.
8050
+ /// </summary>
8051
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
8052
+ public static bool IsNegativeInfinity(C3f c)
8053
+ => c.IsNegativeInfinity;
8054
+
8023
8055
/// <summary>
8024
8056
/// Returns whether all components of the the given <see cref="C3f"/> are finite (i.e. not NaN and not infinity).
8025
8057
/// </summary>
@@ -8949,6 +8981,24 @@ public bool IsInfinity
8949
8981
get => AnyInfinity;
8950
8982
}
8951
8983
8984
+ /// <summary>
8985
+ /// Returns true if any component of the color is infinite and positive, false otherwise.
8986
+ /// </summary>
8987
+ public bool IsPositiveInfinity
8988
+ {
8989
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
8990
+ get => AnyPositiveInfinity;
8991
+ }
8992
+
8993
+ /// <summary>
8994
+ /// Returns true if any component of the color is infinite and negative, false otherwise.
8995
+ /// </summary>
8996
+ public bool IsNegativeInfinity
8997
+ {
8998
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
8999
+ get => AnyNegativeInfinity;
9000
+ }
9001
+
8952
9002
/// <summary>
8953
9003
/// Returns whether all components of the color are finite (i.e. not NaN and not infinity).
8954
9004
/// </summary>
@@ -10015,6 +10065,20 @@ public static bool IsNaN(C3d c)
10015
10065
public static bool IsInfinity(C3d c)
10016
10066
=> c.IsInfinity;
10017
10067
10068
+ /// <summary>
10069
+ /// Returns whether any component of the the given <see cref="C3d"/> is positive infinity.
10070
+ /// </summary>
10071
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
10072
+ public static bool IsPositiveInfinity(C3d c)
10073
+ => c.IsPositiveInfinity;
10074
+
10075
+ /// <summary>
10076
+ /// Returns whether any component of the the given <see cref="C3d"/> is negative infinity.
10077
+ /// </summary>
10078
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
10079
+ public static bool IsNegativeInfinity(C3d c)
10080
+ => c.IsNegativeInfinity;
10081
+
10018
10082
/// <summary>
10019
10083
/// Returns whether all components of the the given <see cref="C3d"/> are finite (i.e. not NaN and not infinity).
10020
10084
/// </summary>
@@ -18472,6 +18536,24 @@ public bool IsInfinity
18472
18536
get => AnyInfinity;
18473
18537
}
18474
18538
18539
+ /// <summary>
18540
+ /// Returns true if any component of the color is infinite and positive, false otherwise.
18541
+ /// </summary>
18542
+ public bool IsPositiveInfinity
18543
+ {
18544
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
18545
+ get => AnyPositiveInfinity;
18546
+ }
18547
+
18548
+ /// <summary>
18549
+ /// Returns true if any component of the color is infinite and negative, false otherwise.
18550
+ /// </summary>
18551
+ public bool IsNegativeInfinity
18552
+ {
18553
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
18554
+ get => AnyNegativeInfinity;
18555
+ }
18556
+
18475
18557
/// <summary>
18476
18558
/// Returns whether all components of the color are finite (i.e. not NaN and not infinity).
18477
18559
/// </summary>
@@ -19574,6 +19656,20 @@ public static bool IsNaN(C4f c)
19574
19656
public static bool IsInfinity(C4f c)
19575
19657
=> c.IsInfinity;
19576
19658
19659
+ /// <summary>
19660
+ /// Returns whether any component of the the given <see cref="C4f"/> is positive infinity.
19661
+ /// </summary>
19662
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
19663
+ public static bool IsPositiveInfinity(C4f c)
19664
+ => c.IsPositiveInfinity;
19665
+
19666
+ /// <summary>
19667
+ /// Returns whether any component of the the given <see cref="C4f"/> is negative infinity.
19668
+ /// </summary>
19669
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
19670
+ public static bool IsNegativeInfinity(C4f c)
19671
+ => c.IsNegativeInfinity;
19672
+
19577
19673
/// <summary>
19578
19674
/// Returns whether all components of the the given <see cref="C4f"/> are finite (i.e. not NaN and not infinity).
19579
19675
/// </summary>
@@ -20652,6 +20748,24 @@ public bool IsInfinity
20652
20748
get => AnyInfinity;
20653
20749
}
20654
20750
20751
+ /// <summary>
20752
+ /// Returns true if any component of the color is infinite and positive, false otherwise.
20753
+ /// </summary>
20754
+ public bool IsPositiveInfinity
20755
+ {
20756
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
20757
+ get => AnyPositiveInfinity;
20758
+ }
20759
+
20760
+ /// <summary>
20761
+ /// Returns true if any component of the color is infinite and negative, false otherwise.
20762
+ /// </summary>
20763
+ public bool IsNegativeInfinity
20764
+ {
20765
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
20766
+ get => AnyNegativeInfinity;
20767
+ }
20768
+
20655
20769
/// <summary>
20656
20770
/// Returns whether all components of the color are finite (i.e. not NaN and not infinity).
20657
20771
/// </summary>
@@ -21754,6 +21868,20 @@ public static bool IsNaN(C4d c)
21754
21868
public static bool IsInfinity(C4d c)
21755
21869
=> c.IsInfinity;
21756
21870
21871
+ /// <summary>
21872
+ /// Returns whether any component of the the given <see cref="C4d"/> is positive infinity.
21873
+ /// </summary>
21874
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
21875
+ public static bool IsPositiveInfinity(C4d c)
21876
+ => c.IsPositiveInfinity;
21877
+
21878
+ /// <summary>
21879
+ /// Returns whether any component of the the given <see cref="C4d"/> is negative infinity.
21880
+ /// </summary>
21881
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
21882
+ public static bool IsNegativeInfinity(C4d c)
21883
+ => c.IsNegativeInfinity;
21884
+
21757
21885
/// <summary>
21758
21886
/// Returns whether all components of the the given <see cref="C4d"/> are finite (i.e. not NaN and not infinity).
21759
21887
/// </summary>
0 commit comments