| 149 | } |
| 150 | |
| 151 | float View::getStandardDistance() const noexcept { |
| 152 | return _size.height * 0.5f / std::tan(bx::toRad(_fieldOfView) * 0.5f); |
| 153 | } |
| 154 | |
| 155 | float View::getAspectRatio() const noexcept { |
| 156 | return _size.width / _size.height; |
no test coverage detected