Searched refs:currentStep (Results 1 – 2 of 2) sorted by relevance
68 auto currentStep = static_cast<int32_t>(fraction * steps_); in InterpolateImpl() local70 currentStep++; in InterpolateImpl()74 return static_cast<float>(currentStep); in InterpolateImpl()77 currentStep = std::min(currentStep, steps_); in InterpolateImpl()78 return static_cast<float>(currentStep) / steps_; in InterpolateImpl()
215 auto currentStep = static_cast<int32_t>(time * steps_); in MoveInternal() local216 if (position_ == StepsCurvePosition::START && currentStep < steps_) { in MoveInternal()217 currentStep++; in MoveInternal()219 return static_cast<float>(currentStep) / steps_; in MoveInternal()