jagua_rs::util::assertions

Function quadrants_have_valid_layout

Source
pub fn quadrants_have_valid_layout(quadrants: &[&AARectangle; 4]) -> bool
Expand description

Checks if the quadrants follow the layout set in AARectangle::QUADRANT_NEIGHBOR_LAYOUT