Add STBTT_fmod(x,y)

I guess I forgot to actually add the definition for STBTT_fmod. I guess I didn't encounter any errors on my machine because I had defined it. Duh!
pull/547/head
pmttavara 2018-02-01 02:18:23 -05:00 committed by GitHub
parent 7a51d2075e
commit e12cb8e92e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -441,6 +441,11 @@ int main(int arg, char **argv)
#define STBTT_pow(x,y) pow(x,y)
#endif
#ifndef STBTT_fmod
#include <math.h>
#define STBTT_fmod(x,y) fmod(x,y)
#endif
#ifndef STBTT_cos
#include <math.h>
#define STBTT_cos(x) cos(x)