MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / ProjectionDemo

Method ProjectionDemo

examples/internals/ProjectionSample.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46class ProjectionDemo {
47 public:
48 ProjectionDemo(double zNear, double zFar)
49 : ProjectionDemo(
50 zNear, zFar,
51 computeSymmetricFOVRect(50. * degrees, 40. * degrees, zNear)) {}
52 ProjectionDemo(double zNear, double zFar, osvr::util::Rectd &&inputRect)
53 : near(zNear), far(zFar), rect(std::move(inputRect)) {
54 xBounds.assign({-1, 1});

Callers

nothing calls this directly

Calls 1

computeSymmetricFOVRectFunction · 0.85

Tested by

no test coverage detected