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 intbit shift used to encode positions in the hierarchystatic final intmaximum X or Y coordinatestatic final intmaximum height when converted to 16 bitsstatic final floatvalue used to create gaps in a height fieldstatic final intcNoCollisionValueconverted to 16 bitsstatic final intmaximum number of bits in an X or Y coordinatestatic final intstack 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 cNoCollisionValue16cNoCollisionValueconverted to 16 bits- See Also:
-
cMaxHeightValue16
public static final int cMaxHeightValue16maximum height when converted to 16 bits- See Also:
-