I found this answer for drawing a sphere in OpenSceneGraph
.
It has some errors and the OP clearly stated that
the code is just not usable
So, I tried the code and fixed the issues it had and was able to see a nice sphere.
My question is:
Should I post a new answer, crediting the original author, with the fixed code?
Or should I directly edit the original code and fix it?
EDIT :
The OP accepted the answer in question, yet the code still contains errors. Since it was accepted, I'm leaning towards the editing options. Any thoughts?