20 #ifndef ANTKEEPER_ANIMATION_STEP_HPP
21 #define ANTKEEPER_ANIMATION_STEP_HPP
42 [[nodiscard]]
float phase(
float t)
const noexcept;
Describes the timing of a single step in a gait.
float phase(float t) const noexcept
Returns the phase of the step at the given gait phase.
float delay
Fraction of the gait cycle, on [0, 1], at which the limb enters the swing phase.
float duty_factor
Fraction of the gait cycle, on [0, 1], in which the limb is in the stance phase.