Rotation of Camera Around an Origin
I am trying to create a function of my Camera
class that takes a yaw, pitch, and origin, and correctly uses the yaw and pitch to rotate the camera around that origin. I am very close, but there is one small problem – the camera seems to slowly get further away from the origin no matter the direction it rotates.