Compression: remove unnecessary inline

This commit is contained in:
vis2k 2022-10-24 12:49:35 +02:00
parent 1176494587
commit 79bb48bbf5

View File

@ -26,7 +26,6 @@ public static class Compression
// 'true' if scaling was possible within 'long' bounds.
// 'false' if clamping was necessary.
// never throws. checking result is optional.
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool ScaleToLong(float value, float precision, out long result)
{
// user might try to pass precision = 0 to disable rounding.
@ -74,7 +73,6 @@ public static bool ScaleToLong(Vector3 value, float precision, out long x, out l
// multiple by precision.
// for example, 0.1 cm precision converts '50' long to '5.0f' float.
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static float ScaleToFloat(long value, float precision)
{
// user might try to pass precision = 0 to disable rounding.