4jcraft/targets/minecraft/util/SmoothFloat.h
2026-04-01 13:27:58 -05:00

13 lines
257 B
C++

#pragma once
class SmoothFloat {
private:
float targetValue;
float remainingValue;
float lastAmount;
public:
SmoothFloat(); // 4J added
float getNewDeltaValue(float deltaValue, float accelerationAmount);
float getTargetValue();
};