public static enum PhysicsSpace.BroadphaseType extends java.lang.Enum<PhysicsSpace.BroadphaseType>
Enum Constant and Description |
---|
AXIS_SWEEP_3
btAxisSweep3: uses incremental 3-D sweep and prune, requires world
bounds, limited to 16_384 objects
|
AXIS_SWEEP_3_32
bt32BitAxisSweep3: uses incremental 3-D sweep and prune, requires
world bounds, limited to 65_536 objects
|
DBVT
btDbvtBroadphase: uses a fast, dynamic bounding-volume hierarchy
based on AABB tree to allow quicker addition/removal of physics
objects
|
SIMPLE
btSimpleBroadphase: a brute-force reference implementation for
debugging purposes
|
Modifier and Type | Method and Description |
---|---|
static PhysicsSpace.BroadphaseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhysicsSpace.BroadphaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhysicsSpace.BroadphaseType SIMPLE
public static final PhysicsSpace.BroadphaseType AXIS_SWEEP_3
public static final PhysicsSpace.BroadphaseType AXIS_SWEEP_3_32
public static final PhysicsSpace.BroadphaseType DBVT
public static PhysicsSpace.BroadphaseType[] values()
for (PhysicsSpace.BroadphaseType c : PhysicsSpace.BroadphaseType.values()) System.out.println(c);
public static PhysicsSpace.BroadphaseType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null