Type Definition speedy2d::shape::Rect

source ·
pub type Rect = Rectangle<f32>;
Expand description

A struct representing an axis-aligned rectangle. Two points are stored: the top left vertex, and the bottom right vertex.

Alias for a rectangle with f32 coordinates.