aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SmoothFloat.h
blob: 5b25302a377910b83cb1b43d0cda826cc453f8b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

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