smoother NPC pathing. (credit to Haynar from EQMacEmu)

This commit is contained in:
regneq
2015-05-11 21:42:48 -07:00
parent cc2a60feb2
commit 052f343e4d
7 changed files with 133 additions and 73 deletions
+1
View File
@@ -34,6 +34,7 @@ public:
~Map();
float FindBestZ(glm::vec3 &start, glm::vec3 *result) const;
float FindClosestZ(glm::vec3 &start, glm::vec3 *result) const;
bool LineIntersectsZone(glm::vec3 start, glm::vec3 end, float step, glm::vec3 *result) const;
bool LineIntersectsZoneNoZLeaps(glm::vec3 start, glm::vec3 end, float step_mag, glm::vec3 *result) const;
bool CheckLoS(glm::vec3 myloc, glm::vec3 oloc) const;