egui/crates/emath/src
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
..
align.rs Fix tooltips sometimes changing position each frame (#7304) 2025-07-07 12:02:01 +02:00
easing.rs Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
gui_rounding.rs Make all lines and rectangles crisp (#5518) 2024-12-26 21:02:27 +01:00
history.rs Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00
lib.rs Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
numeric.rs Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
ordered_float.rs Fix sometimes blurry SVGs (#7071) 2025-05-21 20:01:40 +02:00
pos2.rs Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
range.rs Cross-widget text select (#3870) 2024-01-24 15:45:22 +01:00
rect.rs Change `Rect::area` to return zero for negative rectangles (#7305) 2025-07-07 12:03:03 +02:00
rect_align.rs Fix tooltips sometimes changing position each frame (#7304) 2025-07-07 12:02:01 +02:00
rect_transform.rs Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
rot2.rs Add assert messages and print bad argument values in asserts (#5216) 2025-03-25 09:20:29 +01:00
smart_aim.rs Enable more clippy lints (#6853) 2025-04-24 17:32:50 +02:00
ts_transform.rs Add `egui::Scene` for panning/zooming a `Ui` (#5505) 2025-01-28 20:06:10 +01:00
vec2.rs Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
vec2b.rs Update ScrollArea drag velocity when drag stopped (#5175) 2024-10-02 18:12:36 +02:00