at start of my RenderScene() function i put a light on a particular position (say x100,y100,z100). After translating and rotating and drawing other objects i’d like to know where my light is. But cause of rotating and translating the point (x100,y100,z100) isn’t where is was.
Is there a better way then to save all rotations and translations in a matrix and to calculate backwards?