Fixed warnigs on VS.

This commit is contained in:
Robert Osfield
2004-05-20 13:54:53 +00:00
parent f8daf206ab
commit fee33001fd
3 changed files with 3 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ class Vec2f
float norm = Vec2f::length();
if (norm>0.0)
{
float inv = 1.0/norm;
float inv = 1.0f/norm;
_v[0] *= inv;
_v[1] *= inv;
}