I'm struggling to understand why my controls are causing the camera to orbit around a fixed point instead of behaving like a first-person shooter game.
After comparing my code to an example in the three.js documentation, I am aiming to replicate the same effect. However, I've reached a roadblock and can't seem to identify the error.
You can take a look at my attempt here.