Minor changes to math module

-Fixed missing Set method: "X::Set(const X&)"
-Removed operator String


Former-commit-id: 690f161704ed85fc57a62b812af7933e390572b5
This commit is contained in:
Lynix
2013-02-16 19:21:14 +01:00
parent 3a4fb198e8
commit cdf632ac96
16 changed files with 48 additions and 72 deletions

View File

@@ -45,6 +45,7 @@ class NzVector2
NzVector2& Set(T X, T Y);
NzVector2& Set(T scale);
NzVector2& Set(const T vec[2]);
NzVector2& Set(const NzVector2& vec);
template<typename U> NzVector2& Set(const NzVector2<U>& vec);
T SquaredDistance(const NzVector2& vec) const;
@@ -52,8 +53,6 @@ class NzVector2
NzString ToString() const;
operator NzString() const;
operator T*();
operator const T*() const;