mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 14:21:18 +00:00
Don't use memset in idMat3::Zero
This commit is contained in:
parent
c67c455180
commit
37ed3e9e46
1 changed files with 3 additions and 1 deletions
|
@ -598,7 +598,9 @@ ID_INLINE bool idMat3::operator!=( const idMat3 &a ) const {
|
|||
}
|
||||
|
||||
ID_INLINE void idMat3::Zero( void ) {
|
||||
memset( mat, 0, sizeof( idMat3 ) );
|
||||
mat[0].x = 0.0f; mat[0].y = 0.0f; mat[0].z = 0.0f;
|
||||
mat[1].x = 0.0f; mat[1].y = 0.0f; mat[1].z = 0.0f;
|
||||
mat[2].x = 0.0f; mat[2].y = 0.0f; mat[2].z = 0.0f;
|
||||
}
|
||||
|
||||
ID_INLINE void idMat3::Identity( void ) {
|
||||
|
|
Loading…
Reference in a new issue