Receiving a transformed vertex

How do I receive a transformed vertex in 3D coordinates (for collision testing)?

Try gluProject function