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++
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++
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.