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
normalized_angle
Copy item path
Settings
Help
Summary
Source
pub fn normalized_angle(angle:
f32
) ->
f32
Expand description
Wrap angle to
[-PI, PI]
range.