Class BlockShapeUtil

java.lang.Object
com.hypixel.hytale.math.block.BlockShapeUtil

public class BlockShapeUtil extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
    Added to a shape's radius before testing block centers against the analytic surface, so boundary cells whose centers fall just outside the exact radius are still included.
  • Method Summary

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • RADIUS_ADJUST

      public static final float RADIUS_ADJUST
      Added to a shape's radius before testing block centers against the analytic surface, so boundary cells whose centers fall just outside the exact radius are still included. Slightly under half a block to keep small shapes from visibly overshooting their diameter.
      See Also: