PDA

View Full Version : Translate 2D objects with a callList



RobertEd
05-26-2010, 07:28 PM
Is it possible to move a sprite in ortho mode with a callList?

Wish there was a glTranslate2f :)

aqnuep
05-27-2010, 12:21 AM
You mean display list? If yes, then the answer is also yes.

And you don't need a glTranslate2f-like function, just use glTranslate3f and use Z coordinate of 0 and you'll get what you want.

RobertEd
05-27-2010, 06:53 PM
Haha, I was using Y as NULL, thanks