View Full Version : what's the use of gltransferf() and how can use it?
08-16-2001, 06:32 AM
what's the use of gltransferf() and how can use it?
08-16-2001, 07:25 AM
I'm guessing you mean glTranslatef(x,y,z).
It translates (i.e. linearly displaces) the current matrix by the vector (x,y,z). You can use it anytime, assuming a valid render context is current, and as long as it is not called between a glBegin()/glEnd() block.
08-16-2001, 02:45 PM
You might find in useful to take a look at the OpenGL faq:
There you will find lot's of tips. I do think you should read a book on OpenGL (there are some available on line) to get some understanding of how it works, this will make it a lot easier to understand how it works.
Just a tip.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.