- // Set position and orientation either
- // indirectly through property refs
- // or directly with static values.
+ model->init( object );
+ double lon = node->getDoubleValue("longitude-deg"),
+ lat = node->getDoubleValue("latitude-deg"),
+ elevFt = node->getDoubleValue("elevation-ft");
+
+ model->setPosition(SGGeod::fromDegFt(lon, lat, elevFt));
+// Set position and orientation either
+// indirectly through property refs
+// or directly with static values.