Changeset 202 for osgVisual/trunk/src/object
- Timestamp:
- Jan 21, 2011, 10:07:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/src/object/visual_object.cpp
r88 r202 66 66 } 67 67 68 visual_object* visual_object::createNodeFromXMLConfig(osg::CoordinateSystemNode* sceneRoot_, xmlNode* a_node) 69 { 70 //osg::ref<visual_object> object = new visual_object( root, nodeName); 71 72 73 /* 74 <models> 75 <model filename="cessna" type="plain" label="TestText!" dynamic="yes"> 76 <position lat="47.12345" lon="11.234567" alt="1500.0"></position> 77 <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude> 78 <cameraoffset> 79 <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation> 80 <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation> 81 </cameraoffset> 82 </model> 83 </models> 84 */ 85 86 87 return NULL; 88 } 89 68 90 void visual_object::setNewPositionAttitude( double lat_, double lon_, double alt_, double azimuthAngle_psi_, double pitchAngle_theta_, double bankAngle_phi_ ) 69 91 {
Note: See TracChangeset
for help on using the changeset viewer.