I\'m creating a first-person camera that rotates using Euler angles. I created the view matrix for the camera like this:
Quaternionf rotation = new Quaternionf().