mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 14:21:18 +00:00
Don't use memset in idMat6::Zero
This commit is contained in:
parent
30175c72ae
commit
8d2d41345d
1 changed files with 3 additions and 1 deletions
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue