mirror of
https://github.com/zeldaret/ss
synced 2026-06-18 07:25:18 -04:00
19 lines
422 B
C++
19 lines
422 B
C++
#ifndef S_MATH_H
|
|
#define S_MATH_H
|
|
|
|
#include <common.h>
|
|
|
|
namespace sLib {
|
|
|
|
float addCalc(float *value, float target, float ratio, float maxStepSize, float minStepSize);
|
|
|
|
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);
|
|
|
|
} // namespace sLib
|
|
|
|
#endif
|