Hello. Hopefully someone can help me with the following issue:
I’ve picked up a copy of the OpenGL: A Primer, the “Redbook”, the “Bluebook”, and the Interactive Computer Graphics: A Top-Down Approach Using OpenGL book. However, I’ve been using the Primer as my main source. NONE of these books had a clock example. A few of them referred to the timer function in GLUT but that’s not what I was looking for.
After browsing the web I managed to find some examples of making an analog clock in GLUT. Now here’s the problem: I want to place an analog clock in the upper-right corner of my texture map. How would I go about doing this? I noticed the glVertex2f function and tried messing around with it (the example that I found it in was the Primer book in the simple.c source code to draw a white square) but when I do I just end up making the square it draws disappear. Is this the function I need? If so how can I input coordinates?
EDIT: Got my rights and lefts mixed up. Want the clock in the top-LEFT corner.