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

Method wrap

src/osvr/Common/GeneralizedTransform.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 void GeneralizedTransform::wrap(Json::Value const &transform) {
57 Json::Value newLayer{transform};
58 if (newLayer.isObject()) {
59 container().insert(begin(), newLayer);
60 }
61 }
62
63 bool GeneralizedTransform::empty() const { return container().empty(); }
64

Callers 1

mainFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected