sphere generate with out glu how

how can i make a sphere with out using any of those toolkits ??? i found a tutorial but it was for directx i dont understand directx

… but you could take out the math and draw the sphere with opengl.

Assume the sphere center at cx, cy, cz and a radius r.

a valid sphere point p(x, y, z) satisfies the condition

r² = x² + y² + z²

use this to draw a sphere.