Searched refs:initVelocity_ (Results 1 – 4 of 4) sorted by relevance
40 initVelocity_ = std::abs(initVelocity); in Reset()46 if (NearZero(initVelocity_)) { in Reset()51 finalTime_ = UNIT_CONVERT * std::log(velocityThreshold_ / initVelocity_) / friction_; in Reset()74 … return initPosition_ + signum_ * (initVelocity_ / friction_) * std::expm1(friction_ * offsetTime); in GetPosition()84 return signum_ * initVelocity_ * std::exp(friction_ * offsetTime); in GetVelocity()111 if (NearZero(initVelocity_)) { in GetTimeByPosition()125 time = std::log(position * friction_ / initVelocity_ + 1.0) / friction_; in GetTimeByPosition()
54 double initVelocity_ { 0.0 };
515 initVelocity_ = correctVelocity; in StartScrollAnimation()547 frictionVelocity_ = initVelocity_; in StartScrollAnimation()558 finalPosition_, initVelocity_, nodeId_, nodeTag_.c_str()); in StartScrollAnimation()560 …option, finalPosition_, initVelocity_, [weak = AceType::WeakClaim(this), id = Container::CurrentId… in StartScrollAnimation()684 initVelocity_ = velocity; in FixScrollMotion()685 finalPosition_ = mainPosition + initVelocity_ / (friction * -FRICTION_SCALE); in FixScrollMotion()
580 float initVelocity_ = 0.0f; variable