Changeset 10184 in orxonox.OLD for branches/mount_points/src/lib
- Timestamp:
- Jan 6, 2007, 5:03:27 PM (18 years ago)
- Location:
- branches/mount_points/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/model.h
r10182 r10184 55 55 typedef struct 56 56 { 57 std::string name; //!< the name of the mount point 57 58 Vector up; //!< the up vector 58 59 Vector forward; //!< the forward vector … … 100 101 inline const mpList& getMountPoints() const { return this->mountPoints; } 101 102 /** 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; } 104 105 105 106 -
branches/mount_points/src/lib/graphics/importer/static_model.cc
r10183 r10184 197 197 198 198 // now add the mount point 199 this->addMountPoint( up, forward, center );199 this->addMountPoint( up, forward, center, groupName); 200 200 } 201 201 }
Note: See TracChangeset
for help on using the changeset viewer.