Files
MinecraftConsoles/Minecraft.World/SmoothFloat.h

13 lines
246 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
class SmoothFloat
{
private:
float targetValue;
float remainingValue;
float lastAmount;
public:
SmoothFloat(); // 4J added
float getNewDeltaValue(float deltaValue, float accelerationAmount);
float getTargetValue();
};