light position and transformations

Hello, I have a question:

Imagine I would draw a cube in my scene, with lighting enabled. However, before I draw I do a translation on the modelview matrix.

This translation moves the cube, but will it also move the light in the scene? Will the translation affect lighting?

It depends, if you translate before calling the light functions, it will affect the light. But if you translate after calling light functions, then it won’t.

That’s all I needed to know. Thanks!