Adjust epsilon in IsNormalized checks to be less strict
This commit is contained in:
@@ -136,7 +136,7 @@ public:
|
||||
// Gets a value indicting whether this instance is normalized.
|
||||
bool IsNormalized() const
|
||||
{
|
||||
return Math::Abs((X * X + Y * Y + Z * Z) - 1.0f) < 1e-4f;
|
||||
return Math::Abs((X * X + Y * Y + Z * Z) - 1.0f) < 1e-3f;
|
||||
}
|
||||
|
||||
// Gets a value indicting whether this vector is zero.
|
||||
|
||||
Reference in New Issue
Block a user