Added min(vector, vector) and max(vector,vector) functions

This commit is contained in:
Kearwood Kip Gilbert
2018-03-28 12:59:33 -07:00
parent 7fc321ebb8
commit 20d341227d
8 changed files with 47 additions and 3 deletions

View File

@@ -94,8 +94,9 @@ public:
static Vector2 Normalize(const Vector2 &v);
static float Cross(const Vector2 &v1, const Vector2 &v2);
static float Dot(const Vector2 &v1, const Vector2 &v2);
static Vector2 Min(const Vector2 &v1, const Vector2 &v2);
static Vector2 Max(const Vector2 &v1, const Vector2 &v2);
static Vector2 Min();
static Vector2 Max();
static Vector2 Zero();