Added a missing cast in the FromMatrix (to avoid a warning)

This commit is contained in:
Paolo Cignoni 2016-12-04 12:19:26 +01:00
parent a850722639
commit 56dcf4a513
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ public:
void ToEulerAngles(T &alpha, T &beta, T &gamma);
template <class Matrix44Type>
void FromMatrix(const Matrix44Type & m){for(int i = 0; i < 16; i++) V()[i]=m.V()[i];}
void FromMatrix(const Matrix44Type & m){for(int i = 0; i < 16; i++) V()[i]=T(m.V()[i]);}
template <class EigenMatrix44Type>
void ToEigenMatrix(EigenMatrix44Type & m) const {