MCPcopy Create free account
hub / github.com/comaps/comaps / GetT

Method GetT

libs/drape_frontend/animation/interpolators.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88double Interpolator::GetT() const
89{
90 if (IsFinished())
91 return 1.0;
92
93 return std::max(m_elapsedTime - m_delay, 0.0) / m_duration;
94}
95
96double Interpolator::GetElapsedTime() const
97{

Callers 3

RenderMethod · 0.45
GetOpacityMethod · 0.45
UpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected