fn subtract_one(
a: Box2D<f32, LayoutPixel>,
b: Box2D<f32, LayoutPixel>,
) -> Vec<Box2D<f32, LayoutPixel>>Expand description
Splits a into the (up to four) disjoint rects that remain once b is removed
from it.
fn subtract_one(
a: Box2D<f32, LayoutPixel>,
b: Box2D<f32, LayoutPixel>,
) -> Vec<Box2D<f32, LayoutPixel>>Splits a into the (up to four) disjoint rects that remain once b is removed
from it.