mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Changed internal MathHelper-method to public
This commit is contained in:
1 parent
2a3c13ef87
commit
5a0d5ff104
1 file changed
+1
-5
@@ -69,10 +69,8 @@ namespace RGB.NET.Core
|
||||
return value;
|
||||
}
|
||||
|
||||
#region Internal
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static byte GetByteValueFromPercentage(this double percentage)
|
||||
public static byte GetByteValueFromPercentage(this double percentage)
|
||||
{
|
||||
if (double.IsNaN(percentage)) return 0;
|
||||
|
||||
@@ -81,7 +79,5 @@ namespace RGB.NET.Core
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user