Files
MinecraftConsoles/Minecraft.World/SmoothFloat.h
T
2026-07-09 04:15:40 -04:00

13 lines
246 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();
};