JoeyDeVries / Cell

OpenGL C++ Graphics Engine
Other
915 stars 124 forks source link

mesh/sphere.cpp #14

Closed aimspike closed 6 years ago

aimspike commented 6 years ago

hi bro, I find a tiny bug in file sphere.cpp:18 float xSegment = (float)x / (float)ySegments; it should divide with xSegments not ySegments.

I just find it while copy this part into my project haha. I need to thank you for your great work! and tell u, we are still with u.

JoeyDeVries commented 6 years ago

Haha great to hear! And thank you!