Package com.github.stephengold.joltjni
Class HeightFieldShapeConstants
java.lang.Object
com.github.stephengold.joltjni.HeightFieldShapeConstants
Constants used with
HeightFieldShape
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
bit shift used to encode positions in the hierarchystatic final int
maximum X or Y coordinatestatic final int
maximum height when converted to 16 bitsstatic final float
value used to create gaps in a height fieldstatic final int
cNoCollisionValue
converted to 16 bitsstatic final int
maximum number of bits in an X or Y coordinatestatic final int
stack size for WalkHeightField -
Method Summary
-
Field Details
-
cNoCollisionValue
public static final float cNoCollisionValuevalue used to create gaps in a height field- See Also:
-
cStackSize
public static final int cStackSizestack size for WalkHeightField- See Also:
-
cNumBitsXY
public static final int cNumBitsXYmaximum number of bits in an X or Y coordinate- See Also:
-
cMaskBitsXY
public static final int cMaskBitsXYmaximum X or Y coordinate- See Also:
-
cLevelShift
public static final int cLevelShiftbit shift used to encode positions in the hierarchy- See Also:
-
cNoCollisionValue16
public static final int cNoCollisionValue16cNoCollisionValue
converted to 16 bits- See Also:
-
cMaxHeightValue16
public static final int cMaxHeightValue16maximum height when converted to 16 bits- See Also:
-