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

@@ -626,7 +626,7 @@ NzMatrix4<T>& NzMatrix4<T>::Set(const T matrix[16])
template<typename T>
NzMatrix4<T>& NzMatrix4<T>::Set(const NzMatrix4& matrix)
{
std::memcpy(&m11, &matrix.m11, 16*sizeof(T));
std::memcpy(this, &matrix, sizeof(NzMatrix4));
return *this;
}
@@ -741,12 +741,6 @@ NzMatrix4<T>& NzMatrix4<T>::Transpose()
return *this;
}
template<typename T>
NzMatrix4<T>::operator NzString() const
{
return ToString();
}
template<typename T>
NzMatrix4<T>::operator T*()
{