In this lab you will add a first-person camera interface to a renderer so that the user can move around the scene with the keyboard and mouse.
Your first challenge is to implement a Camera
class by completing the following steps:
camera.js
. Don't forget to export it.
reorient
, strafe
, and advance
.
yaw
and pitch
.
Your second challenge is to incorporate your camera into the provided renderer by completing the following steps:
initialize
.