Closed TheFakeMontyOnTheRun closed 6 years ago
I had the same problem.
This was my solution.
#include <float.h>
Cool project BTW :)
Being a C++ developer primarily, I wasn't aware this was a C constant. Gonna withdraw my Pull Request then.
(To be fair, I'm also much more into Fixed Point math than floats ;-) )
Thanks a bunch Monty. Lic is MIT.
A constant was missing for when resetting the Z-Buffer. I went with 0xFFFF but it could be bigger values, since it's a float.
BTW, what is the license of this repository? Very cool work. Congrats.