hi, i just started studying 3D graphics using OpenGL. I have this task to enable a user to move a sphere around and detect when the sphere gets completely inside a cube and then my very little programme should close.
could anyone help me to do it or point me in the correct direction.