#include "mapscroller.h"
+/////////////////////////////////////////////////////////////////////////////
// scene coordinate interpolator function is not part of this class namespace
+/////////////////////////////////////////////////////////////////////////////
QVariant sceneCoordinateInterpolator(const SceneCoordinate &start,
const SceneCoordinate &end,
qreal progress);
emit coordinateUpdated(value.value<SceneCoordinate>());
}
+/////////////////////////////////////////////////////////////////////////////
// scene coordinate interpolator function is not part of this class namespace
+/////////////////////////////////////////////////////////////////////////////
QVariant sceneCoordinateInterpolator(const SceneCoordinate &start,
const SceneCoordinate &end,
qreal progress)
{
+ qDebug() << __PRETTY_FUNCTION__;
+
return SceneCoordinate(start + progress * (end - start));
}