libode/libode-0.9-no-normalize-assert.patch

21 lines
706 B
Diff
Raw Normal View History

diff -up ode-0.9/include/ode/odemath.h~ ode-0.9/include/ode/odemath.h
--- ode-0.9/include/ode/odemath.h~ 2007-10-12 22:08:55.000000000 +0200
+++ ode-0.9/include/ode/odemath.h 2007-10-12 22:08:55.000000000 +0200
@@ -294,14 +294,14 @@ ODE_API int dSafeNormalize4 (dVector4 a
static __inline void _dNormalize3(dVector3 a)
{
int bNormalizationResult = dSafeNormalize3(a);
- dIASSERT(bNormalizationResult);
+/* dIASSERT(bNormalizationResult); */
dVARIABLEUSED(bNormalizationResult);
}
static __inline void _dNormalize4(dVector4 a)
{
int bNormalizationResult = dSafeNormalize4(a);
- dIASSERT(bNormalizationResult);
+/* dIASSERT(bNormalizationResult); */
dVARIABLEUSED(bNormalizationResult);
}