I want to create a 2D camera but it does not follow the player and I do not really understand the gluLookAt.
Camera class http://pastebin.com/D8iECncx
Main class http://pastebin.com/D4RvFe5y
I want to create a 2D camera but it does not follow the player and I do not really understand the gluLookAt.
Camera class http://pastebin.com/D8iECncx
Main class http://pastebin.com/D4RvFe5y