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

Method setParams

tests/cplusplus/Util/Projection.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void setParams(double zNear, double zFar) {
65 near = zNear;
66 far = zFar;
67 std::cout << "Near: " << near << "\tFar: " << far << "\n";
68 }
69 osvr::util::Rectd computeSymmetricRect() const {
70 return computeSymmetricFOVRect(50. * degrees, 40. * degrees, near);
71 }

Callers 1

TYPED_TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected