void dInitODE() { int bInitResult = dInitODE2(0); dIASSERT(bInitResult); dVARIABLEUSED(bInitResult); int ibAllocResult = dAllocateODEDataForThread(dAllocateMaskAll); dIASSERT(ibAllocResult); dVARIABLEUSED(ibAllocResult); }
void dInitODE() { if (g_bODEInitialized) return; int bInitResult = dInitODE2(dAllocateMaskAll); dIASSERT(bInitResult); dVARIABLEUSED(bInitResult); int ibAllocResult = dAllocateODEDataForThread(dAllocateMaskAll); dIASSERT(ibAllocResult); dVARIABLEUSED(ibAllocResult); }