Merge pull request #717 from theR4K/miami

Helicopters not ringing, and other audio stuff
This commit is contained in:
erorcun
2020-09-29 01:48:11 +03:00
committed by GitHub
5 changed files with 675 additions and 156 deletions

View File

@ -219,6 +219,8 @@ extern int strncasecmp(const char *str1, const char *str2, size_t len);
#define clamp(v, low, high) ((v)<(low) ? (low) : (v)>(high) ? (high) : (v))
#define clamp2(v, center, radius) ((v) < (center) ? Max(v, center - radius) : Min(v, center + radius))
inline float sq(float x) { return x*x; }
#define SQR(x) ((x) * (x))