I have a graphic application to develop which involve many spheres. I should determine then on run time.
Supposing that I have a sphere of radius r, how can I determine the sub set of the sphere surface points that are integer?
E.g., $r = 10$ I can have $(10,0,0), (8,6,0),$ etc.
(Obs.: I really think this is not a programming question, that's why I not posted In stack overflow. If I am wrong, please fell free to warn me that :)