@@ -19,22 +19,22 @@ public void NormalizeColorsInPlace(float maximum)
1919 var CMax4 = new Vector4 ( maximum ) ;
2020 var COff4 = new Vector4 ( MathF . Ceiling ( maximum / 2 ) ) ;
2121
22- this . V0L = Vector4Utilities . FastClamp ( this . V0L + COff4 , CMin4 , CMax4 ) ;
23- this . V0R = Vector4Utilities . FastClamp ( this . V0R + COff4 , CMin4 , CMax4 ) ;
24- this . V1L = Vector4Utilities . FastClamp ( this . V1L + COff4 , CMin4 , CMax4 ) ;
25- this . V1R = Vector4Utilities . FastClamp ( this . V1R + COff4 , CMin4 , CMax4 ) ;
26- this . V2L = Vector4Utilities . FastClamp ( this . V2L + COff4 , CMin4 , CMax4 ) ;
27- this . V2R = Vector4Utilities . FastClamp ( this . V2R + COff4 , CMin4 , CMax4 ) ;
28- this . V3L = Vector4Utilities . FastClamp ( this . V3L + COff4 , CMin4 , CMax4 ) ;
29- this . V3R = Vector4Utilities . FastClamp ( this . V3R + COff4 , CMin4 , CMax4 ) ;
30- this . V4L = Vector4Utilities . FastClamp ( this . V4L + COff4 , CMin4 , CMax4 ) ;
31- this . V4R = Vector4Utilities . FastClamp ( this . V4R + COff4 , CMin4 , CMax4 ) ;
32- this . V5L = Vector4Utilities . FastClamp ( this . V5L + COff4 , CMin4 , CMax4 ) ;
33- this . V5R = Vector4Utilities . FastClamp ( this . V5R + COff4 , CMin4 , CMax4 ) ;
34- this . V6L = Vector4Utilities . FastClamp ( this . V6L + COff4 , CMin4 , CMax4 ) ;
35- this . V6R = Vector4Utilities . FastClamp ( this . V6R + COff4 , CMin4 , CMax4 ) ;
36- this . V7L = Vector4Utilities . FastClamp ( this . V7L + COff4 , CMin4 , CMax4 ) ;
37- this . V7R = Vector4Utilities . FastClamp ( this . V7R + COff4 , CMin4 , CMax4 ) ;
22+ this . V0L = Numerics . Clamp ( this . V0L + COff4 , CMin4 , CMax4 ) ;
23+ this . V0R = Numerics . Clamp ( this . V0R + COff4 , CMin4 , CMax4 ) ;
24+ this . V1L = Numerics . Clamp ( this . V1L + COff4 , CMin4 , CMax4 ) ;
25+ this . V1R = Numerics . Clamp ( this . V1R + COff4 , CMin4 , CMax4 ) ;
26+ this . V2L = Numerics . Clamp ( this . V2L + COff4 , CMin4 , CMax4 ) ;
27+ this . V2R = Numerics . Clamp ( this . V2R + COff4 , CMin4 , CMax4 ) ;
28+ this . V3L = Numerics . Clamp ( this . V3L + COff4 , CMin4 , CMax4 ) ;
29+ this . V3R = Numerics . Clamp ( this . V3R + COff4 , CMin4 , CMax4 ) ;
30+ this . V4L = Numerics . Clamp ( this . V4L + COff4 , CMin4 , CMax4 ) ;
31+ this . V4R = Numerics . Clamp ( this . V4R + COff4 , CMin4 , CMax4 ) ;
32+ this . V5L = Numerics . Clamp ( this . V5L + COff4 , CMin4 , CMax4 ) ;
33+ this . V5R = Numerics . Clamp ( this . V5R + COff4 , CMin4 , CMax4 ) ;
34+ this . V6L = Numerics . Clamp ( this . V6L + COff4 , CMin4 , CMax4 ) ;
35+ this . V6R = Numerics . Clamp ( this . V6R + COff4 , CMin4 , CMax4 ) ;
36+ this . V7L = Numerics . Clamp ( this . V7L + COff4 , CMin4 , CMax4 ) ;
37+ this . V7R = Numerics . Clamp ( this . V7R + COff4 , CMin4 , CMax4 ) ;
3838 }
3939
4040 /// <summary>
0 commit comments