org.ode4j.ode
Class DWorld.DWorldStepReserveInfo
java.lang.Object
org.ode4j.ode.DWorld.DWorldStepReserveInfo
- Enclosing interface:
- DWorld
public static class DWorld.DWorldStepReserveInfo
- extends java.lang.Object
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.
- See Also:
DWorld.setStepMemoryReservationPolicy(DWorldStepReserveInfo)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
struct_size
public int struct_size
reserve_factor
public double reserve_factor
reserve_minimum
public int reserve_minimum
DWorld.DWorldStepReserveInfo
public DWorld.DWorldStepReserveInfo()