Changeset 202 for osgVisual/trunk/src/core
- Timestamp:
- Jan 21, 2011, 10:07:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/src/core/visual_core.cpp
r200 r202 279 279 if(cur_node->type == XML_ELEMENT_NODE && node_name == "models") 280 280 { 281 /* 282 <models> 283 <model filename="cessna" type="plain" label="TestText!" dynamic="yes"> 284 <position lat="47.12345" lon="11.234567" alt="1500.0"></position> 285 <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude> 286 <cameraoffset> 287 <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation> 288 <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation> 289 </cameraoffset> 290 </model> 291 </models> 292 */ 281 for (xmlNode *modelNode = cur_node->children; modelNode; modelNode = modelNode->next) 282 { 283 visual_object::createNodeFromXMLConfig(rootNode, modelNode); 284 } 293 285 } 294 286
Note: See TracChangeset
for help on using the changeset viewer.