Documentation for Vector2 + static DotProduct & Normalize

Former-commit-id: 6f0aa15cd725f9dfaa7f6f99b10c6d2dde4e94a1
This commit is contained in:
Gawaboumga
2015-12-30 15:35:37 +01:00
parent cec0567fdd
commit 844e31fb38
2 changed files with 513 additions and 8 deletions

View File

@@ -62,8 +62,8 @@ namespace Nz
String ToString() const;
operator T*();
operator const T*() const;
operator T* ();
operator const T* () const;
const Vector2& operator+() const;
Vector2 operator-() const;
@@ -89,7 +89,9 @@ namespace Nz
bool operator>(const Vector2& vec) const;
bool operator>=(const Vector2& vec) const;
static T DotProduct(const Vector2& vec1, const Vector2& vec2);
static Vector2 Lerp(const Vector2& from, const Vector2& to, T interpolation);
static Vector2 Normalize(const Vector2& vec);
static Vector2 Unit();
static Vector2 UnitX();
static Vector2 UnitY();