mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix debug compile
This commit is contained in:
parent
7d89a42b56
commit
ac55e6c142
@ -1006,13 +1006,6 @@ void MatrixBuildRotation(VMatrix& dst, const Vector3D& initialDirection, const V
|
||||
}
|
||||
|
||||
MatrixBuildRotationAboutAxis(dst, axis, angle);
|
||||
|
||||
#ifdef _DEBUG
|
||||
Vector test;
|
||||
Vector3DMultiply(dst, initialDirection, test);
|
||||
test -= finalDirection;
|
||||
Assert(test.LengthSqr() < 1e-3);
|
||||
#endif
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -28,12 +28,7 @@ std::mutex s_LogMutex;
|
||||
//-----------------------------------------------------------------------------
|
||||
bool HushAsserts()
|
||||
{
|
||||
#ifdef DBGFLAG_ASSERT
|
||||
static bool s_bHushAsserts = !!CommandLine()->FindParm("-hushasserts");
|
||||
return s_bHushAsserts;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user