1
0
Fork 0

Math/Matrix3: remove Zero static variable (default constructor creates a zero matrix).

This commit is contained in:
Henrik Hautakoski 2019-04-29 08:54:15 +02:00
parent 4e29b3ea2c
commit 84d773dc0d
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
2 changed files with 1 additions and 8 deletions

View file

@ -24,7 +24,7 @@ struct Matrix3
};
static Matrix3<T> Identity;
static Matrix3<T> Zero;
inline Matrix3();
inline Matrix3( T a, T b, T c,

View file

@ -9,13 +9,6 @@ Matrix3f Matrix3f::Identity(
0, 0, 1
);
template <>
Matrix3f Matrix3f::Zero(
0, 0, 0,
0, 0, 0,
0, 0, 0
);
template<typename T>
inline Matrix3<T>::Matrix3()
{