Doesn't compile in Linux
Brought to you by:
kirkbarnes,
krigssvin
I have a patch that allows it to compile in Linux again. There were a couple of issues - one is a file was renamed to something win32 specific for the GL renderer and the waf build files didn't reflect this change. The other is that an include that declares a variable as an extern is pulled in to the same place it is actually declared as static. I just used a preprocessor hack to fix this. I also modified the r_math.c engine to leverage sincosf for platforms that had it and to use the single precision floating point versions of sin & cos (sinf, cosf) rather the double precesion ones.
Anonymous
Sorry, this was my patch, didn't mean to submit it anonymously.
fix-fix-fix