mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
lego: Implement/match CalculateNewVel (#66)
* lego: Implement/match CalculateNewVel * remove braces * consistency
This commit is contained in:

committed by
GitHub

parent
428b5ae8db
commit
d7b8d6463b
@@ -40,6 +40,7 @@ public:
|
||||
void SetTargets(int p_hPos, int p_vPos, MxBool p_accel);
|
||||
float CalculateNewTargetSpeed(int p_pos, int p_center, float p_maxSpeed);
|
||||
float CalculateNewAccel(int p_pos, int p_center, float p_maxAccel, int p_minAccel);
|
||||
float CalculateNewVel(float p_targetVel, float p_currentVel, float p_accel, float p_time);
|
||||
|
||||
private:
|
||||
int m_hMax;
|
||||
|
Reference in New Issue
Block a user