Commit Graph

5 Commits

Author SHA1 Message Date
Emil Ernerfeldt fd3444473f Add some clippy lints 2021-03-23 19:53:31 +01:00
Emil Ernerfeldt f5c372910c Replace emath::clamp with f32::clamp (new in rustc 1.50) 2021-03-21 17:47:03 +01:00
Emil Ernerfeldt c376d0bb7e [emath] RectTransform: transforms Pos2 from one Rect to another
Very useful for transforming coordinate systems, e.g. for painting
2021-02-14 10:33:44 +01:00
Emil Ernerfeldt 1f2aebc25a Improve documentation 2021-01-17 12:24:13 +01:00
Emil Ernerfeldt a0b0f36d29 Move egui/math into new crate emath 2021-01-10 11:37:47 +01:00