Changeset 6424 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Jan 7, 2006, 11:07:22 PM (19 years ago)
- Location:
- trunk/src/lib/coord
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r6341 r6424 29 29 30 30 #include "synchronizeable.h" 31 32 #include "shell_command.h" 33 SHELL_COMMAND(debugNode, PNode, debugNodeSC); 31 34 32 35 using namespace std; … … 152 155 } 153 156 } 157 158 159 /** 160 * init the pnode to a well definied state 161 * 162 * this function actualy only updates the PNode tree 163 */ 164 void PNode::init() 165 { 166 /* just update all aboslute positions via timestep 0.001ms */ 167 this->updateNode(0.001f); 168 this->updateNode(0.001f); 169 } 170 154 171 155 172 /** -
trunk/src/lib/coord/p_node.h
r6341 r6424 78 78 79 79 void loadParams(const TiXmlElement* root); 80 81 void init(); 80 82 81 83 // ACTIVATION // … … 172 174 // DEBUG // 173 175 void countChildNodes(int& nodes) const; 176 void debugNodeSC (unsigned int depth = 1, unsigned int level = 0) { this->debugNode(depth, level); }; 174 177 void debugNode (unsigned int depth = 1, unsigned int level = 0) const; 175 178 void debugDraw(unsigned int depth = 1, float size = 1.0, const Vector& color = Vector(1, 0, 0), unsigned int level = 0) const;
Note: See TracChangeset
for help on using the changeset viewer.