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

Method SetMaxDuration

libs/drape_frontend/animation/linear_animation.cpp:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void MapLinearAnimation::SetMaxDuration(double maxDuration)
131{
132 if (m_angleInterpolator.IsActive())
133 m_angleInterpolator.SetMaxDuration(maxDuration);
134
135 if (m_positionInterpolator.IsActive())
136 m_positionInterpolator.SetMaxDuration(maxDuration);
137
138 SetMaxScaleDuration(maxDuration);
139}
140
141void MapLinearAnimation::SetMinDuration(double minDuration)
142{

Callers 2

InitMethod · 0.45
SetMaxScaleDurationMethod · 0.45

Calls 1

IsActiveMethod · 0.45

Tested by

no test coverage detected