Class HeightFieldShapeConstants

java.lang.Object
com.github.stephengold.joltjni.HeightFieldShapeConstants

public final class HeightFieldShapeConstants extends Object
Constants used with HeightFieldShape.
  • Field Details

    • cNoCollisionValue

      public static final float cNoCollisionValue
      value used to create gaps in a height field
      See Also:
    • cStackSize

      public static final int cStackSize
      stack size for WalkHeightField
      See Also:
    • cNumBitsXY

      public static final int cNumBitsXY
      maximum number of bits in an X or Y coordinate
      See Also:
    • cMaskBitsXY

      public static final int cMaskBitsXY
      maximum X or Y coordinate
      See Also:
    • cLevelShift

      public static final int cLevelShift
      bit shift used to encode positions in the hierarchy
      See Also:
    • cNoCollisionValue16

      public static final int cNoCollisionValue16
      cNoCollisionValue converted to 16 bits
      See Also:
    • cMaxHeightValue16

      public static final int cMaxHeightValue16
      maximum height when converted to 16 bits
      See Also: