Closed AlexeySmolenchuk closed 8 months ago
Wow! After almost five years, four-hundred stars on github (and probably thousands of people that downloaded and ran this code!?) nobody has found that one yet. And I've since copied and re-used that particular cube setup code into many other repos, where nobody has found it, yet, either ..... amazed, i tell you :-)
Nice catch; also all good on the whitespaces - frankly i don't understand that git cannot figure out that for a C/C++/CUDA file that shouldn't matter, anyway... and quite a few of those whitespaces shouldn't have been there in the first place.
Nobody noticed because of fabs(dot(...)). I was just more curious than expected :)
One of the triangles is reversed in the default cube:![image](https://github.com/ingowald/optix7course/assets/1741589/66aba9a1-234e-4f58-9538-76ea36989cc9)
I know. Not a big deal. Just for consistency.
Sorry for the noise with stripped whitespaces.