Adjust epsilon in IsNormalized checks to be less strict
This commit is contained in:
@@ -179,7 +179,7 @@ namespace FlaxEngine
|
||||
/// <summary>
|
||||
/// Gets a value indicting whether this instance is normalized.
|
||||
/// </summary>
|
||||
public bool IsNormalized => Mathd.Abs((X * X + Y * Y) - 1.0f) < 1e-4f;
|
||||
public bool IsNormalized => Mathd.Abs((X * X + Y * Y) - 1.0f) < 1e-3f;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicting whether this vector is zero
|
||||
|
||||
Reference in New Issue
Block a user