mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 14:22:17 +00:00
Bunch of refactoring and walking, AI needs a ton of tweaking to use the new logic
This commit is contained in:
1 parent
29ea65a71e
commit
1785120796
17 files changed
+787
-474
No files matched your search
+10
-1
@@ -50,6 +50,15 @@ float DistanceSquaredNoZ(const glm::vec4& point1, const glm::vec4& point2);
|
||||
float GetReciprocalHeading(const glm::vec4& point1);
|
||||
float GetReciprocalHeading(const float heading);
|
||||
|
||||
bool IsPositionEqual(float x1, float y1, float z1, float x2, float y2, float z2);
|
||||
bool IsPositionEqual(const glm::vec2 &p1, const glm::vec2 &p2);
|
||||
bool IsPositionEqual(const glm::vec3 &p1, const glm::vec3 &p2);
|
||||
bool IsPositionEqual(const glm::vec4 &p1, const glm::vec4 &p2);
|
||||
bool IsPositionEqualWithinCertainZ(const glm::vec3 &p1, const glm::vec3 &p2, float z_eps);
|
||||
bool IsPositionEqualWithinCertainZ(const glm::vec4 &p1, const glm::vec4 &p2, float z_eps);
|
||||
|
||||
bool IsPositionWithinSimpleCylinder(const glm::vec3 &p1, const glm::vec3 &cylinder_center, float cylinder_radius, float cylinder_height);
|
||||
bool IsPositionWithinSimpleCylinder(const glm::vec4 &p1, const glm::vec4 &cylinder_center, float cylinder_radius, float cylinder_height);
|
||||
|
||||
float CalculateHeadingAngleBetweenPositions(float x1, float y1, float x2, float y2);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user