1#pragma once 2 3class SmoothFloat 4{ 5private: 6 float targetValue; 7 float remainingValue; 8 float lastAmount; 9public: 10 SmoothFloat(); // 4J added 11 float getNewDeltaValue(float deltaValue, float accelerationAmount); 12 float getTargetValue(); 13};