Changeset 2514 for code/branches/presentation/src/orxonox/objects/collisionshapes/SphereCollisionShape.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/SphereCollisionShape.h
r2486 r2514 46 46 47 47 inline void setRadius(float radius) 48 { this->radius_ = radius; updateS phere(); }48 { this->radius_ = radius; updateShape(); } 49 49 inline float getRadius() const 50 50 { return this->radius_; } 51 51 52 void updateSphere(); 52 private: 53 btCollisionShape* createNewShape() const; 53 54 54 private:55 55 float radius_; 56 56 };
Note: See TracChangeset
for help on using the changeset viewer.