# GLUT-coordinates

How read out the coordinates for example from a gluSphere (the midpoint)?

When you use glusphere midpoint or origin is the center of the sphere.
If you have translated the sphere say to 1,1,1, that is where the center of the sphere will be located. I hope this is what you wanted to know?

Originally posted by Tux:
How read out the coordinates for example from a gluSphere (the midpoint)?

Yeah, that’s clear.
But if there are many transformations it take great pains to update the coordinates of mipdoint.

or not?!

For the purpose of using rotation it is best that you use the midpoint of the object.

If the objects origin was say at a corner, then the object when rotated would revalve around that corner.

No not really pain, really makes it easy…
Once you start making multiple objects or complex objects built from simple objects.
You will see that is it the best way.

Originally posted by Tux:
[b]Yeah, that’s clear.
But if there are many transformations it take great pains to update the coordinates of mipdoint.

or not?![/b]

Think it’s really the best way.

Thanks!