Header. More...
Go to the source code of this file.
Namespaces | |
| osvr | |
| The main namespace for all C++ elements of the framework, internal and external. | |
| osvr::util | |
| The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems. | |
Functions | |
| template<typename System > | |
| Rectd | osvr::util::computeSymmetricFOVRect (AngleGeneric< System > hFov, AngleGeneric< System > vFov) |
| Compute a rectangle at unit distance for the given fov values. | |
| template<typename System > | |
| Rectd | osvr::util::computeSymmetricFOVRect (AngleGeneric< System > hFov, AngleGeneric< System > vFov, double near) |
| Compute a rectangle at the near clipping plane for the given fov values. | |
| template<typename System > | |
| Eigen::Matrix4d | osvr::util::createSymmetricProjectionMatrix (AngleGeneric< System > hFov, AngleGeneric< System > vFov, double near, double far) |