mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 15:32:17 +00:00
Add Map::FindClosestLoS()
This will return true if LOS failed and you should use the outloc
This commit is contained in:
1 parent
b3ac1001c9
commit
7e7f5f0bd6
2 files changed
+9
No files matched your search
@@ -42,6 +42,7 @@ public:
|
||||
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;
|
||||
bool FindClosestLoS(glm::vec3 myloc, glm::vec3 oloc, glm::vec3 &outloc) const;
|
||||
|
||||
#ifdef USE_MAP_MMFS
|
||||
bool Load(std::string filename, bool force_mmf_overwrite = false);
|
||||
|
||||
Reference in new issue
Block a user