Math Extensions
Lerp Angle
This linearly interpolates between two angles, ensuring the shortest path is taken.
Smooth Step
This smoothly interpolates between two values using Hermite interpolation.
Sinerp
This smoothly interpolates between two values using sine interpolation.
Round To Nearest
This rounds a number to the nearest specified increment.
Shortest Difference
This calculates the shortest difference between two angles.
Average
This calculates the average of an array of floats.
Max
This retrieves the maximum value from an array of floats.
Min
This retrieves the minimum value from an array of floats.
Sum
This calculates the sum of an array of floats.
Last updated