22 #ifndef __D_WORLD_C_H__
23 #define __D_WORLD_C_H__
26 #include "ndBodyDynamicC.h"
32 typedef void* ndWorldC;
34 NEWTON_API ndWorldC ndCreateWorld();
35 NEWTON_API
void ndDestroyWorld(ndWorldC worldc);
36 NEWTON_API
void ndWorldSync(ndWorldC worldc);
37 NEWTON_API
void ndWorldSetSubSteps(ndWorldC worldc,
int subSteps);
38 NEWTON_API
void ndWorldSetThreadCount(ndWorldC worldc,
int workerThreads);
40 NEWTON_API dFloat32 ndWorldGetUpdateTime(ndWorldC worldc);
42 NEWTON_API
void ndWorldAddBody(ndWorldC worldc, ndBodyDynamicC body);
43 NEWTON_API
void ndWorldUpdate(ndWorldC worldc, dFloat32 timestep);