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