diff options
| author | robojumper <robojumper@gmail.com> | 2025-04-07 12:18:16 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-04-07 12:18:16 +0200 |
| commit | 136a8033a9b1f283fe5e91d71572e40534dc42c2 (patch) | |
| tree | 9297200a6bbbecbee7e3f819b8d6d0ae69992ac0 /include/s | |
| parent | 5172f5a99ae26cd0ff797785a328f40c88fb33d3 (diff) | |
Link s_Math
Diffstat (limited to 'include/s')
| -rw-r--r-- | include/s/s_Math.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/s/s_Math.h b/include/s/s_Math.h index ecaab38a..a1bdfe39 100644 --- a/include/s/s_Math.h +++ b/include/s/s_Math.h @@ -12,9 +12,10 @@ BOOL chase(short *value, short target, short stepSize); BOOL chase(int *value, int target, int stepSize); BOOL chase(float *value, float target, float stepSize); BOOL chaseAngle(short *value, short target, short stepSize); -BOOL chaseAngle2(short *value, short target, short stepSize); // Inofficial names +short addCalcAngle2(short *value, short target, short ratio, short maxStepSize, short minStepSize); +BOOL chaseAngle2(short *value, short target, short stepSize); float extrapolate(float start, float end, float scale); BOOL isInRange(float val, float min, float max); void addCalcScaledDiff(float *value, float target, float ratio, float maxStepSize); |
