title: Drawing 3D sphere in C/C++
body: <p>I am looking for an algorithm which can draw a nice looking 3D sphere on small resolution. I found <a href="http://en.wikipedia.org/wiki/Midpoint_circle_algorithm" rel="noreferrer">Bresenham's circle algorithm</a> but it's for 2D drawing. I just need spheres borders (I don't need it filled). I also googled for a solution of the problem but I didn't find anything. <a href="https://stackoverflow.com/questions/9084189/draw-a-sphere-using-3d-pixels-voxels">This</a> article doesn't help (what is the brute force algorithm?). I can't use any OpenGL libraries, I need vanilla C/C++ solution. Thank you in advance.</p>