| 1 | // SPDX-License-Identifier: LGPL-2.1-only |
| 2 | // Copyright (C) 2021 James Hogan <[email protected]> |
| 3 | |
| 4 | #ifndef OSGXR_PROJECTION |
| 5 | #define OSGXR_PROJECTION 1 |
| 6 | |
| 7 | #include <osg/Matrix> |
| 8 | |
| 9 | #include <openxr/openxr.h> |
| 10 | |
| 11 | namespace osgXR { |
| 12 | |
| 13 | void createProjectionFov(osg::Matrix& result, |
| 14 | const XrFovf& fov, |
| 15 | const float nearZ, |
| 16 | const float farZ); |
| 17 | |
| 18 | } // osgXR |
| 19 | |
| 20 | #endif |