public enum RenderCoordMode extends java.lang.Enum<RenderCoordMode>
CollisionObjects should be determined.| Enum Constant and Description |
|---|
CEIL
Coordinates will use
MathUtils.ceil(float) |
FLOOR
Coordinates will use
MathUtils.floor(float) |
ROUND
Coordinates will use
MathUtils.round(float) |
| Modifier and Type | Field and Description |
|---|---|
static RenderCoordMode |
GLOBAL_DEFAULT
The default for new
CollisionObject instances. |
| Modifier and Type | Method and Description |
|---|---|
int |
apply(float value) |
static int |
apply(RenderCoordMode mode,
float value) |
static RenderCoordMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderCoordMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderCoordMode FLOOR
MathUtils.floor(float)public static final RenderCoordMode CEIL
MathUtils.ceil(float)public static final RenderCoordMode ROUND
MathUtils.round(float)public static RenderCoordMode GLOBAL_DEFAULT
CollisionObject instances. Defaults to ROUNDpublic static RenderCoordMode[] values()
for (RenderCoordMode c : RenderCoordMode.values()) System.out.println(c);
public static RenderCoordMode 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 nullpublic int apply(float value)
public static int apply(RenderCoordMode mode, float value)