Changeset 4844 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/spatial_separation.h
- Timestamp:
- Jul 12, 2005, 11:25:53 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/spatial_separation.h
r4842 r4844 22 22 23 23 public: 24 Rectangle() ;25 virtual ~Rectangle() ;24 Rectangle() {} 25 virtual ~Rectangle() {} 26 26 27 27 /** \brief sets the center of the rectangle to a defined vector @param center the new center */ 28 28 inline void setCenter(const Vector ¢er) { this->center = center;} 29 /** \brief sets the center of the rectangle to a defined vector @param x coord of the center @param y coord of the center @param z coord of the center */ 30 inline void setCenter(float x, float y, float z) { this->center.x = x; this->center.y = y; this->center.z = z; } 29 31 /** \brief returns the center of the rectangle to a defined vector @returns center the new center */ 30 32 inline const Vector* getCenter() const { return &this->center; }
Note: See TracChangeset
for help on using the changeset viewer.