CurveAngle
This function returns an value interpolated between a current and target angle.
Syntax
- static float CurveAngle(const float target, const float current, const float divisions)
Parameters
- target: the value being moved towards, in degrees.
- current: the current value, in degrees.
- divisions: the number to divide the difference by.
Returns
Returns an interpolated value.