Way back in the first chapter, we briefly heard about the term game camera . This is the term used for the virtual camera in a game world that decides what goes on screen by looking in different directions and moving to different positions in the scene. Now that we’re comfortable with using matrices to move things around our screen, it’s time for us to see how we can use matrices to build a simple game camera.
Using a game camera to move things around a screen is a bit different from moving individual objects. When the game camera moves, everything on screen has to move at once. If this ...