Skip to content

Commit 509b7f6

Browse files
committed
Update mathlib_base.cpp
1 parent 5c70153 commit 509b7f6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/mathlib/mathlib_base.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,16 @@ void MatrixInitialize( matrix3x4_t &mat, const Vector &vecOrigin, const Vector &
359359
void MatrixCopy( const matrix3x4_t& in, matrix3x4_t& out )
360360
{
361361
Assert( s_bMathlibInitialized );
362+
363+
#ifdef BDSBASE
364+
// ??
365+
if (in.Base() == NULL)
366+
return;
367+
368+
if (out.Base() == NULL)
369+
return;
370+
#endif
371+
362372
memcpy( out.Base(), in.Base(), sizeof( float ) * 3 * 4 );
363373
}
364374

0 commit comments

Comments
 (0)