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

Function computeRect

src/osvr/Client/DisplayConfig.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 inline static util::Rectd
79 computeRect(display_schema_1::DisplayDescriptor &descriptor) {
80 return util::computeSymmetricFOVRect(descriptor.getHorizontalFOV(),
81 descriptor.getVerticalFOV());
82 }
83
84 static const char HEAD_PATH[] = "/me/head";
85 DisplayConfigPtr DisplayConfigFactory::create(OSVR_ClientContext ctx) {

Callers 1

createMethod · 0.85

Calls 3

computeSymmetricFOVRectFunction · 0.85
getHorizontalFOVMethod · 0.80
getVerticalFOVMethod · 0.80

Tested by

no test coverage detected