mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
new script engine, and things maybe be bugged for a while
This commit is contained in:
@@ -42,7 +42,7 @@ public:
|
||||
inline bool operator==(const TPoint<T>& other) const { return other.x==x && other.y==y; }
|
||||
inline bool operator!=(const TPoint<T>& other) const { return other.x!=x || other.y!=y; }
|
||||
|
||||
inline float length() const { return sqrtf((float)(x*x + y*y)); }
|
||||
inline float length() const { return sqrt((float)(x*x + y*y)); }
|
||||
inline T manhattanLength() const { return std::abs(x) + std::abs(y); }
|
||||
|
||||
inline float distanceFrom(const TPoint<T>& other) const {
|
||||
|
Reference in New Issue
Block a user