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