enemy comes to you when in his radius
This commit is contained in:
@@ -14,9 +14,13 @@ public:
|
||||
Vec3f();
|
||||
Vec3f(Vec3f &other);
|
||||
Vec3f(float x, float y, float z);
|
||||
float Length();
|
||||
float Distance(const Vec3f &);
|
||||
float& operator [](int);
|
||||
Vec3f operator + (const Vec3f &other);
|
||||
Vec3f operator / (float value);
|
||||
bool operator ==(const Vec3f &other);
|
||||
bool operator !=(const Vec3f &other);
|
||||
};
|
||||
|
||||
class Vec2f
|
||||
@@ -35,5 +39,6 @@ public:
|
||||
Vec2f(Vec2f &other);
|
||||
float& operator [](int);
|
||||
Vec2f operator + (const Vec2f &other);
|
||||
float length();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user