| 275 | } |
| 276 | |
| 277 | double ViewState::getHorizontalFieldOfView() const noexcept { |
| 278 | return std::atan(1.0 / this->_projectionMatrix[0][0]) * 2.0; |
| 279 | } |
| 280 | |
| 281 | double ViewState::getVerticalFieldOfView() const noexcept { |
| 282 | return std::atan(-1.0 / this->_projectionMatrix[1][1]) * 2.0; |
no outgoing calls
no test coverage detected