emath
0.30.0
Modules
align
easing
smart_aim
Structs
History
OrderedFloat
Pos2
Rangef
Rect
RectTransform
Rot2
TSTransform
Vec2
Vec2b
Traits
Float
NumExt
Numeric
One
Real
Functions
almost_equal
ease_in_ease_out
exponential_smooth_factor
format_with_decimals_in_range
format_with_minimum_decimals
interpolation_factor
inverse_lerp
lerp
normalized_angle
pos2
remap
remap_clamp
round_to_decimals
vec2
emath
Function
pos2
Copy item path
Settings
Help
Summary
Source
pub const fn pos2(x:
f32
, y:
f32
) ->
Pos2
Expand description
pos2(x, y) == Pos2::new(x, y)