Expand description
This crate provides utilities for performing collision queries between rectangles and rays,
including swept checks for moving rectangles. It leverages fixed-point arithmetic provided by the fixed32
crate to
handle the computations.
Modules§
Structs§
Functions§
- Performs a ray-rectangle intersection test.
- Computes the intersection time of a horizontal ray with a target rectangle.
- Computes the intersection time of a vertical ray with a target rectangle.
- Checks for intersection between a swept rectangle and a target rectangle.
- Checks for intersection between a swept rectangle and a target rectangle along the horizontal axis.
- Checks for intersection between a vertically swept rectangle and a target rectangle.