コード例 #1
0
ファイル: odeinit.cpp プロジェクト: 120pulsations/SDK
void dInitODE()
{
	int bInitResult = dInitODE2(0);
	dIASSERT(bInitResult); dVARIABLEUSED(bInitResult);

	int ibAllocResult = dAllocateODEDataForThread(dAllocateMaskAll);
	dIASSERT(ibAllocResult); dVARIABLEUSED(ibAllocResult);
}
コード例 #2
0
ファイル: odeinit.cpp プロジェクト: Belxjander/Asuna
void dInitODE()
{
	if (g_bODEInitialized)
		return;

	int bInitResult = dInitODE2(dAllocateMaskAll);
	dIASSERT(bInitResult); dVARIABLEUSED(bInitResult);

	int ibAllocResult = dAllocateODEDataForThread(dAllocateMaskAll);
	dIASSERT(ibAllocResult); dVARIABLEUSED(ibAllocResult);
}