mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Removed Mob::DistNoRoot(x,y,z)
This commit is contained in:
@@ -2302,16 +2302,6 @@ float Mob::DistNoRoot(const Mob &other) const {
|
|||||||
+ (zDiff * zDiff) );
|
+ (zDiff * zDiff) );
|
||||||
}
|
}
|
||||||
|
|
||||||
float Mob::DistNoRoot(float x, float y, float z) const {
|
|
||||||
float xDiff = x - m_Position.m_X;
|
|
||||||
float yDiff = y - m_Position.m_Y;
|
|
||||||
float zDiff = z - m_Position.m_Z;
|
|
||||||
|
|
||||||
return ( (xDiff * xDiff)
|
|
||||||
+ (yDiff * yDiff)
|
|
||||||
+ (zDiff * zDiff) );
|
|
||||||
}
|
|
||||||
|
|
||||||
float Mob::DistNoRootNoZ(float x, float y) const {
|
float Mob::DistNoRootNoZ(float x, float y) const {
|
||||||
float xDiff = x - m_Position.m_X;
|
float xDiff = x - m_Position.m_X;
|
||||||
float yDiff = y - m_Position.m_Y;
|
float yDiff = y - m_Position.m_Y;
|
||||||
|
|||||||
@@ -514,7 +514,6 @@ public:
|
|||||||
float Dist(const Mob &) const;
|
float Dist(const Mob &) const;
|
||||||
float DistNoZ(const Mob &) const;
|
float DistNoZ(const Mob &) const;
|
||||||
float DistNoRoot(const Mob &) const;
|
float DistNoRoot(const Mob &) const;
|
||||||
float DistNoRoot(float x, float y, float z) const;
|
|
||||||
float DistNoRootNoZ(float x, float y) const;
|
float DistNoRootNoZ(float x, float y) const;
|
||||||
float DistNoRootNoZ(const Mob &) const;
|
float DistNoRootNoZ(const Mob &) const;
|
||||||
static float GetReciprocalHeading(Mob* target);
|
static float GetReciprocalHeading(Mob* target);
|
||||||
|
|||||||
Reference in New Issue
Block a user