Skip to content

Commit bdbb218

Browse files
test
Dumb floating point precision.
1 parent 1efdc3b commit bdbb218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/TransformInterpolationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ internal class TransformInterpolationObject : NetworkTransform
1414
public static bool TestComplete = false;
1515
// Set the minimum threshold which we will use as our margin of error
1616
#if UNITY_EDITOR
17-
public const float MinThreshold = 0.005f;
17+
public const float MinThreshold = 0.00555555f;
1818
#else
1919
// Add additional room for error on console tests
2020
public const float MinThreshold = 0.009999f;

0 commit comments

Comments
 (0)