ODE  0.13.1
dWorldStepReserveInfo Struct Reference

Memory reservation policy descriptor structure for world stepping functions. More...

#include <objects.h>

## Data Fields

unsigned struct_size

float reserve_factor

unsigned reserve_minimum

## Detailed Description

Memory reservation policy descriptor structure for world stepping functions.

struct_size should be assigned the size of the structure.

reserve_factor is a quotient that is multiplied by required memory size to allocate extra reserve whenever reallocation is needed.

reserve_minimum is a minimum size that is checked against whenever reallocation is needed to allocate expected working memory minimum at once without extra reallocations as number of bodies/joints grows.