MCPcopy Create free account
hub / github.com/RenderKit/embree / print

Method print

tutorials/common/scenegraph/scenegraph.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 void SceneGraph::PerspectiveCameraNode::print(std::ostream& cout, int depth) {
36 cout << "PerspectiveCameraNode @ " << this << " { " << std::endl;
37 if (name != "") {
38 tab(cout, depth+1); cout << "name = " << name << std::endl;
39 }
40 tab(cout, depth+1); cout << "from = " << data.from << std::endl;
41 tab(cout, depth+1); cout << "to = " << data.to << std::endl;
42 tab(cout, depth+1); cout << "up = " << data.up << std::endl;
43 tab(cout, depth+1); cout << "fov = " << data.fov << std::endl;
44 tab(cout, depth); cout << "}" << std::endl;
45 }
46
47 void SceneGraph::AnimatedPerspectiveCameraNode::print(std::ostream& cout, int depth) {
48 cout << "AnimatedPerspectiveCameraNode @ " << this << " { " << std::endl;

Callers 1

mainMethod · 0.45

Calls 2

tabFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected