Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2007, 5:03:27 PM (17 years ago)
Author:
patrick
Message:

extended model again, added mounting point generation procedures now working on a nicer interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/lib/graphics/importer/model.h

    r10182 r10184  
    5555typedef struct
    5656{
     57  std::string      name;                 //!< the name of the mount point
    5758  Vector           up;                   //!< the up vector
    5859  Vector           forward;              //!< the forward vector
     
    100101    inline const mpList& getMountPoints() const { return this->mountPoints; }
    101102    /** adds a mounting point to the model @param up up vector @param forward forward vector @param center center vector */
    102     inline void addMountPoint(Vector up, Vector forward, Vector center)
    103     { mountPointSkeleton mps; mps.up = up; mps.forward = forward; mps.center = center; }
     103    inline void addMountPoint(const Vector& up, const Vector& forward, const Vector& center, const std::string& name)
     104    { mountPointSkeleton mps; mps.up = up; mps.forward = forward; mps.center = center; mps.name = name; }
    104105
    105106
Note: See TracChangeset for help on using the changeset viewer.