Changeset 2374 for code/branches/physics/src/orxonox/objects/worldentities/collisionshapes/SphereCollisionShape.h
- Timestamp:
- Dec 10, 2008, 1:38:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/collisionshapes/SphereCollisionShape.h
r2304 r2374 42 42 virtual ~SphereCollisionShape(); 43 43 44 void registerVariables(); 44 45 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 45 46 46 inline void setRadius(float radius) 47 { this->radius_ = radius; } 47 void setRadius(float radius); 48 48 inline float getRadius() const 49 49 { return this->radius_;} 50 50 51 inline void radiusChanged() 52 { this->setRadius(this->radius_); } 53 51 54 private: 52 virtual btVector3 getTotalScaling();53 54 55 btSphereShape* sphereShape_; 55 56 float radius_;
Note: See TracChangeset
for help on using the changeset viewer.