From 79bb48bbf53db666eacbe1452e00c1d7e2568291 Mon Sep 17 00:00:00 2001 From: vis2k Date: Mon, 24 Oct 2022 12:49:35 +0200 Subject: [PATCH] Compression: remove unnecessary inline --- Assets/Mirror/Core/Compression.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/Mirror/Core/Compression.cs b/Assets/Mirror/Core/Compression.cs index 8d93a2db3..d51f30f36 100644 --- a/Assets/Mirror/Core/Compression.cs +++ b/Assets/Mirror/Core/Compression.cs @@ -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.