1
This commit is contained in:
parent
ba8d372c73
commit
11776870c4
@ -119,7 +119,7 @@ namespace a8
|
||||
return fabs(sqrt(x*x + y*y));
|
||||
}
|
||||
|
||||
bool Vec2::IsZero()
|
||||
bool Vec2::IsZero() const
|
||||
{
|
||||
return fabs(x) < 0.00001f && fabs(y) < 0.00001f;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user