void Camera::Rotate(const glm::vec2 &delta) noexcept {
orientation += delta;
- orientation.x = glm::clamp(orientation.x, -1.55f, 1.55f);
+ orientation.x = glm::clamp(orientation.x, 0.0f, 1.55f);
while (orientation.y > 3.14159265358979323844f) { // π
orientation.y -= 6.28318530717958647688f; // 2π
}