Skip to main content

is_covered

Function is_covered 

Source
fn is_covered(
    above_shape: OffsetVoxelShape,
    x_min: f64,
    x_max: f64,
    z_min: f64,
    z_max: f64,
) -> bool
Expand description

Vanilla WallBlock.isCovered.

Checks whether the block above’s collision shape fully covers a test rectangle on its DOWN face.