diff options
author | Chris Robinson <[email protected]> | 2018-01-07 17:24:29 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-07 17:24:29 -0800 |
commit | 70973035dea8a65630a7c2548dd8e85d87bd36a9 (patch) | |
tree | a35e689a283dbbe93639d9b81a7c569c46a9c4b9 /Alc/ALu.c | |
parent | c8a30592e81b5ae15a35a0e9f52c395fa75ca752 (diff) |
Use a separate function to get the cubic value
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -69,6 +69,7 @@ extern inline ALuint64 maxu64(ALuint64 a, ALuint64 b); extern inline ALuint64 clampu64(ALuint64 val, ALuint64 min, ALuint64 max); extern inline ALfloat lerp(ALfloat val1, ALfloat val2, ALfloat mu); +extern inline ALfloat cubic(ALfloat val1, ALfloat val2, ALfloat val3, ALfloat val4, ALfloat mu); extern inline void aluVectorSet(aluVector *restrict vector, ALfloat x, ALfloat y, ALfloat z, ALfloat w); |