| 67 | } |
| 68 | |
| 69 | void Camera::update_aspect_ratio(float aspect) |
| 70 | { |
| 71 | matrices.perspective = glm::perspective(glm::radians(fov), aspect, znear, zfar); |
| 72 | updated = true; |
| 73 | } |
| 74 | |
| 75 | void Camera::set_position(const glm::vec3 &position) |
| 76 | { |
no outgoing calls
no test coverage detected