dInitODE2

@brief Initializes ODE library. @param uiInitFlags Initialization options bitmask @return A nonzero if initialization succeeded and zero otherwise.

This function must be called to initialize ODE library before first use. If initialization succeeds the function may not be called again until library is closed with a call to @c dCloseODE.

The @a uiInitFlags parameter specifies initialization options to be used. These can be combination of zero or more @c dInitODEFlags flags.

@note If @c dInitFlagManualThreadCleanup flag is used for initialization, @c dSpaceSetManualCleanup must be called to set manual cleanup mode for every space object right after creation. Failure to do so may lead to resource leaks.

@see dInitODEFlags @see dCloseODE @see dSpaceSetManualCleanup @ingroup init

extern (C) nothrow
int
dInitODE2

Meta