Skip to main content

index_matches_hazards

Function index_matches_hazards 

Source
pub fn index_matches_hazards<E: HazardEntity>(cde: &CDEngine<E>) -> bool
Expand description

Checks that the engine’s index holds exactly the bounding boxes of all hazards except the exterior, sorted by x_min, and that its chunk bounds are the largest x_max of each chunk.