MCPcopy Create free account
hub / github.com/Prograda/Skybolt / DefaultRootNode

Method DefaultRootNode

src/Skybolt/SkyboltVis/DefaultRootNode.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace skybolt::vis;
12
13DefaultRootNode::DefaultRootNode() :
14 mSwitch(new osg::Switch),
15 mTransform(new osg::MatrixTransform)
16{
17 mSwitch->addChild(mTransform);
18 mTransform->setNodeMask(vis::VisibilityCategory::defaultCategories);
19}
20
21DefaultRootNode::~DefaultRootNode()
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected