smoother NPC pathing. (credit to Haynar from EQMacEmu)

This commit is contained in:
regneq committed 2015-05-11 21:42:48 -07:00
1 parent cc2a60feb2
commit 052f343e4d
7 files changed
+133 -73

No files matched your search

+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;