Removed Mob::Dist

This commit is contained in:
Arthur Ice
2015-01-17 17:49:16 -08:00
parent 8895dd599e
commit ee0b9edc21
2 changed files with 0 additions and 11 deletions
-10
View File
@@ -2274,16 +2274,6 @@ bool Mob::CanThisClassBlock(void) const
}
}
float Mob::Dist(const Mob &other) const {
float xDiff = other.m_Position.m_X - m_Position.m_X;
float yDiff = other.m_Position.m_Y - m_Position.m_Y;
float zDiff = other.m_Position.m_Z - m_Position.m_Z;
return sqrtf( (xDiff * xDiff)
+ (yDiff * yDiff)
+ (zDiff * zDiff) );
}
float Mob::DistNoZ(const Mob &other) const {
float xDiff = other.m_Position.m_X - m_Position.m_X;
float yDiff = other.m_Position.m_Y - m_Position.m_Y;