[−][src]Module egui::math
Vectors, positions, rectangles etc.
Modules
smart_aim |
Structs
Pos2 | A position on screen. |
Rect | A rectangular region of space. |
Vec2 | A size or direction in 2D space. |
Constants
TAU | The circumference of a circle divided by its radius. |
Traits
NumExt | |
One | |
Real |
Functions
almost_equal | Should return true when arguments are the same within some rounding error.
For instance |
clamp | Returns |
ease_in_ease_out | For t=[0,1], returns [0,1] with a derivate of zero at both ends |
format_with_minimum_precision | |
lerp | Linear interpolation. |
pos2 | |
remap | Linearly remap a value from one range to another,
so that when |
remap_clamp | Like |
round_to_precision | Round a value to the given number of decimal places. |
vec2 |