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

Method SetRotate

libs/drape_frontend/animation/linear_animation.cpp:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void MapLinearAnimation::SetRotate(double startAngle, double endAngle)
80{
81 m_angleInterpolator = AngleInterpolator(startAngle, endAngle);
82 if (m_angleInterpolator.IsActive())
83 m_properties.insert(Animation::ObjectProperty::Angle);
84}
85
86void MapLinearAnimation::SetScale(double startScale, double endScale)
87{

Callers 2

GetRectAnimationFunction · 0.80
GetSetRectAnimationFunction · 0.80

Calls 3

AngleInterpolatorClass · 0.85
IsActiveMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected