org.ode4j.ode
Class DWorld.DWorldStepReserveInfo

java.lang.Object
  extended by 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)

Field Summary
 double reserve_factor
           
 int reserve_minimum
           
 int struct_size
           
 
Constructor Summary
DWorld.DWorldStepReserveInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

struct_size

public int struct_size

reserve_factor

public double reserve_factor

reserve_minimum

public int reserve_minimum
Constructor Detail

DWorld.DWorldStepReserveInfo

public DWorld.DWorldStepReserveInfo()