This commit is contained in:
Ray 2021-12-06 19:08:06 +01:00
parent 3cb4ef2599
commit e7f48eb16b
2 changed files with 5 additions and 5 deletions

View file

@ -328,9 +328,9 @@ RMAPI Vector2 Vector2Normalize(Vector2 v)
if (length > 0)
{
float ilength = 1.0f / length;
result.x = v.x * ilength;
result.y = v.y * ilength;
float ilength = 1.0f/length;
result.x = v.x*ilength;
result.y = v.y*ilength;
}
return result;