]> git.mxchange.org Git - flightgear.git/commit
Separate the model geodetic position and orientation into a separate
authordavid <david>
Mon, 10 Jun 2002 13:20:26 +0000 (13:20 +0000)
committerdavid <david>
Mon, 10 Jun 2002 13:20:26 +0000 (13:20 +0000)
commita74c184cfbfe4bc0a8918d1fc6d9492bc8242c2e
treea7eae44c72e2831b90999f87f34c55714205efd1
parent0cabedaa4f8ce11bdab4d182937110d111d2590c
Separate the model geodetic position and orientation into a separate
class, FGModelPlacement, while FG3DModel retains control of animation.
This way, we can have a single, top-level placement, but multiple
layers of nested models underneath.  To include a nested model, use
something like this in the XML wrapper:

  <model>
   <path>Models/Stuff/my-component.xml</path>
   <offsets>
    <roll-offset-deg>45</roll-offset-deg>
   </offsets>
  </model>
src/Model/acmodel.cxx
src/Model/acmodel.hxx
src/Model/model.cxx
src/Model/model.hxx
src/Model/modelmgr.cxx
src/Model/modelmgr.hxx