How do I get the My Current Position (coordinates)

This might be a simple question, but how to I determine the current position?( where I’m about to draw)

Hi !

I guess you are talking about the raster position here ?, anyway have a look at the glGet… functions, but you should try to keep track of this information yourself, reading data from the driver is expensive so try to avoid it.


Thanks for the help