enemy comes to you when in his radius

This commit is contained in:
Remco
2016-05-23 08:48:23 +02:00
parent a8415db4ac
commit d01efecb0e
22 changed files with 7274 additions and 21 deletions
+5
View File
@@ -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();
};