me-main #1

Merged
Nate Rupsis merged 123 commits from me-main into main 2023-02-13 18:39:11 +01:00
Showing only changes of commit d42c803f5b - Show all commits

View File

@ -97,8 +97,9 @@ MINLINE float saacos(float fac);
MINLINE float saasin(float fac); MINLINE float saasin(float fac);
MINLINE float sasqrt(float fac); MINLINE float sasqrt(float fac);
MINLINE float interpf(float a, float b, float t); /* Compute linear interpolation (lerp) between origin and target. */
MINLINE double interpd(double a, double b, double t); MINLINE float interpf(float target, float origin, float t);
MINLINE double interpd(double target, double origin, double t);
MINLINE float ratiof(float min, float max, float pos); MINLINE float ratiof(float min, float max, float pos);
MINLINE double ratiod(double min, double max, double pos); MINLINE double ratiod(double min, double max, double pos);