egui/crates/emath
Emil Ernerfeldt 93d562221b
Change `Rect::area` to return zero for negative rectangles (#7305)
Previously a single-negative rectangle (where `min.x > max.x` XOR `min.y
> max.y`) would return a negative area, while a doubly-negative
rectangle (`min.x > max.x` AND `min.y > max.y`) would return a positive
area. Now both return zero instead.
2025-07-07 12:03:03 +02:00
..
src Change `Rect::area` to return zero for negative rectangles (#7305) 2025-07-07 12:03:03 +02:00
Cargo.toml Rename `master` branch to `main` (#7034) 2025-05-08 09:15:42 +02:00
README.md Add badges to all crates' README.md 2023-02-12 18:08:13 +01:00

README.md

emath - egui math library

Latest version Documentation unsafe forbidden MIT Apache

A bare-bones 2D math library with types and functions useful for GUI building.

Made for egui.