Movement will now be handled by the movement manager instead of mob

This commit is contained in:
KimLS
2018-09-20 16:14:47 -07:00
parent f754cb1307
commit 7278c6294d
32 changed files with 323 additions and 306 deletions
+6
View File
@@ -160,3 +160,9 @@ float GetReciprocalHeading(const float heading)
return result;
}
bool IsPositionEqual(float x1, float y1, float z1, float x2, float y2, float z2)
{
static const float eps = 0.0001f;
return std::abs(x1 - x2) < eps && std::abs(y1 - y2) < eps && std::abs(z1 - z2) < eps;
}