How to control multiple objects seperately
Hello everyone. I am a newbie in this subject and I would like to know if anyone outhere can help me on this:
I have 2 2D objects in my application and I would like to move them seperately on the x-y axis with the glTranslatef funciton because I am using GLUT with Borland Builder(I also want to find out how to choose them with the mouse if thats not too hard).
Also is there any url ý can download that superbible or do I have to buy it?
Thanks in advance for all you guys...
Re: How to control multiple objects seperately
glTranslatef(x, y, z); // item 1
glTranslatef(x, y, z); // item 2
you can create a selection buffer, there are many posts on this here, I assume there is a tut for it at gamedev.