Merge remote-tracking branch 'origin/master' into 1.6
This commit is contained in:
@@ -269,7 +269,7 @@ namespace FlaxEngine
|
||||
public void Normalize()
|
||||
{
|
||||
double length = Length;
|
||||
if (!Mathd.IsZero(length))
|
||||
if (length >= Mathd.Epsilon)
|
||||
{
|
||||
double inv = 1.0 / length;
|
||||
X *= inv;
|
||||
|
||||
Reference in New Issue
Block a user