32 return (t - duty_factor) / duty_factor;
37 return (t - duty_factor) / (1.0f - duty_factor);
T fract(T x)
Returns the fractional part of a floating-point number.
float phase(float t) const noexcept
Returns the phase of the step at the given gait phase.