mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
[emath] RectTransform: transforms Pos2 from one Rect to another
Very useful for transforming coordinate systems, e.g. for painting
This commit is contained in:
@@ -60,6 +60,7 @@ use std::ops::{Add, Div, Mul, RangeInclusive, Sub};
|
||||
pub mod align;
|
||||
mod pos2;
|
||||
mod rect;
|
||||
mod rect_transform;
|
||||
mod rot2;
|
||||
pub mod smart_aim;
|
||||
mod vec2;
|
||||
@@ -68,6 +69,7 @@ pub use {
|
||||
align::{Align, Align2},
|
||||
pos2::*,
|
||||
rect::*,
|
||||
rect_transform::*,
|
||||
rot2::*,
|
||||
vec2::*,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user