Changeset 2514 for code/branches/presentation/src/orxonox/objects/collisionshapes/ConeCollisionShape.h
- Timestamp:
- Dec 21, 2008, 2:44:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/collisionshapes/ConeCollisionShape.h
r2486 r2514 46 46 47 47 inline void setRadius(float value) 48 { this->radius_ = value; update Cone(); }48 { this->radius_ = value; updateShape(); } 49 49 inline float getRadius() const 50 50 { return radius_; } 51 51 52 52 inline void setHeight(float value) 53 { this->height_ = value; update Cone(); }53 { this->height_ = value; updateShape(); } 54 54 inline float getHeight() const 55 55 { return this->height_; } 56 56 57 void updateCone(); 57 private: 58 btCollisionShape* createNewShape() const; 58 59 59 private:60 60 float radius_; 61 61 float height_;
Note: See TracChangeset
for help on using the changeset viewer.