mirror of https://github.com/nothings/stb.git
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
parent
7a51d2075e
commit
e12cb8e92e
|
@ -441,6 +441,11 @@ int main(int arg, char **argv)
|
||||||
#define STBTT_pow(x,y) pow(x,y)
|
#define STBTT_pow(x,y) pow(x,y)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef STBTT_fmod
|
||||||
|
#include <math.h>
|
||||||
|
#define STBTT_fmod(x,y) fmod(x,y)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef STBTT_cos
|
#ifndef STBTT_cos
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#define STBTT_cos(x) cos(x)
|
#define STBTT_cos(x) cos(x)
|
||||||
|
|
Loading…
Reference in New Issue