first commit
This commit is contained in:
13
Minecraft.World/SmoothFloat.h
Normal file
13
Minecraft.World/SmoothFloat.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
class SmoothFloat
|
||||
{
|
||||
private:
|
||||
float targetValue;
|
||||
float remainingValue;
|
||||
float lastAmount;
|
||||
public:
|
||||
SmoothFloat(); // 4J added
|
||||
float getNewDeltaValue(float deltaValue, float accelerationAmount);
|
||||
float getTargetValue();
|
||||
};
|
||||
Reference in New Issue
Block a user