Open Dynamics Engine
|
Memory reservation policy descriptor structure for world stepping functions. More...
#include <objects.h>
Public Attributes | |
unsigned | struct_size |
float | reserve_factor |
unsigned | reserve_minimum |
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.