Don't use memset in idMat6::Zero

This commit is contained in:
Turo Lamminen 2021-01-25 12:35:03 +02:00
parent 30175c72ae
commit 8d2d41345d

View file

@ -1723,7 +1723,9 @@ ID_INLINE bool idMat6::operator!=( const idMat6 &a ) const {
} }
ID_INLINE void idMat6::Zero( void ) { ID_INLINE void idMat6::Zero( void ) {
memset( mat, 0, sizeof( idMat6 ) ); for (int i = 0; i < 6; i++) {
mat[i].Zero();
}
} }
ID_INLINE void idMat6::Identity( void ) { ID_INLINE void idMat6::Identity( void ) {