MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / writeNode

Method writeNode

dae23ds/src/DAE23dsSceneGraphWriter.cpp:81–94  ·  view source on GitHub ↗

------------------------------

Source from the content-addressed store, hash-verified

79
80 //------------------------------
81 bool SceneGraphWriter::writeNode(const COLLADAFW::Node* nodeToWriter, short parent3dsNodeId )
82 {
83 short nodeId = mNext3dsNodeId++;
84
85 writeNode( DUMMY, sizeof(DUMMY), nodeId, parent3dsNodeId, nodeToWriter->getTransformationMatrix() );
86
87 writeInstanceGeometries( nodeToWriter->getInstanceGeometries(), nodeId);
88
89 writeNodes(nodeToWriter->getChildNodes(), nodeId);
90
91 writeInstanceNodes( nodeToWriter->getInstanceNodes(), nodeId );
92
93 return true;
94 }
95
96 //------------------------------
97 bool SceneGraphWriter::writeNode(const char* objectRefName, ChunkLength objectRefLength, short nodeId, short parent3dsNodeId, const COLLADABU::Math::Matrix4& matrix )

Callers

nothing calls this directly

Calls 7

isIdentiyMethod · 0.80
getTransMethod · 0.80
extract3x3MatrixMethod · 0.80
toAxisAngleMethod · 0.80
copyToBufferMethod · 0.45
getScaleMethod · 0.45

Tested by

no test coverage detected