-3

I was wondering how I would get the min and max vertices of a cube that has been drawn with

glutSolidSphere(1)

Note: I am using C++

Cindy
  • 41
  • 1
  • 4

1 Answers1

1

glutSolidSphere is a function who's behavior is defined by GLUT. So you would look up how glutSolidSphere generates its vertices by reading its documentation. From that page, we can see that, since you gave it a radius of 1, it will generate points within that radius, centered at the origin.

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982