| 217 | } |
| 218 | |
| 219 | void FirstPersonCamera::SetXRotation(float xRotation) |
| 220 | { |
| 221 | xRot = Clamp(xRotation, -XM_PIDIV2, XM_PIDIV2); |
| 222 | SetOrientation(Quaternion(XMQuaternionRotationRollPitchYaw(xRot, yRot, 0))); |
| 223 | } |
| 224 | |
| 225 | void FirstPersonCamera::SetYRotation(float yRotation) |
| 226 | { |
no test coverage detected