removed unuseful matrix44 copy constructor

This commit is contained in:
alemuntoni 2020-05-06 12:00:29 +02:00
parent 39a4030a70
commit fdb994ddd8
1 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ public:
*/
Matrix44() {}
~Matrix44() {}
Matrix44(const Matrix44 &m);
//Matrix44(const Matrix44 &m);
Matrix44(const T v[]);
T &ElementAt(const int row, const int col);
@ -243,9 +243,9 @@ typedef Matrix44<double> Matrix44d;
template <class T> Matrix44<T>::Matrix44(const Matrix44<T> &m) {
memcpy((T *)_a, (const T *)m._a, 16 * sizeof(T));
}
//template <class T> Matrix44<T>::Matrix44(const Matrix44<T> &m) {
// memcpy((T *)_a, (const T *)m._a, 16 * sizeof(T));
//}
template <class T> Matrix44<T>::Matrix44(const T v[]) {
memcpy((T *)_a, v, 16 * sizeof(T));