GreenCat
04-19-2005, 05:38 AM
The glTranslate translates objects on the screen.
I have put to a structure the values of some objects .
How can i translate objects on the screen and at the same time the values of the objects in the structure be changed accordly to the translation ?
The translation is happening by click and moving the mouse.
Should i use glMultmatrix? If yes how can i use it? Is there any way to multiply the matrixes so the values of the structure to be changed ?
Thanks
I have put to a structure the values of some objects .
How can i translate objects on the screen and at the same time the values of the objects in the structure be changed accordly to the translation ?
The translation is happening by click and moving the mouse.
Should i use glMultmatrix? If yes how can i use it? Is there any way to multiply the matrixes so the values of the structure to be changed ?
Thanks