mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 06:24:51 +00:00
13 lines
257 B
C++
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();
|
|
}; |