Robert Penner easing example using c++ implementation and SFML