Changeset 10624 for code/trunk/src/modules/objects/collisionshapes
- Timestamp:
- Oct 4, 2015, 9:12:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/modules/objects/collisionshapes/AbstractRadiusHeightCollisionShape.cc
r10189 r10624 40 40 namespace orxonox 41 41 { 42 RegisterAbstractClass(AbstractRadiusHeightCollisionShape).inheritsFrom (Class(CollisionShape));42 RegisterAbstractClass(AbstractRadiusHeightCollisionShape).inheritsFrom<CollisionShape>(); 43 43 44 44 /** -
code/trunk/src/modules/objects/collisionshapes/BoxCollisionShape.cc
r9667 r10624 58 58 } 59 59 60 BoxCollisionShape::~BoxCollisionShape()61 {62 // TODO: Move to CollisionShape?63 if (this->isInitialized())64 delete this->collisionShape_;65 }66 67 60 void BoxCollisionShape::registerVariables() 68 61 { -
code/trunk/src/modules/objects/collisionshapes/BoxCollisionShape.h
r9667 r10624 58 58 public: 59 59 BoxCollisionShape(Context* context); 60 virtual ~BoxCollisionShape();61 60 62 61 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); -
code/trunk/src/modules/objects/collisionshapes/ConeCollisionShape.cc
r10189 r10624 54 54 } 55 55 56 ConeCollisionShape::~ConeCollisionShape()57 {58 if (this->isInitialized())59 delete this->collisionShape_;60 }61 62 56 /** 63 57 @brief -
code/trunk/src/modules/objects/collisionshapes/ConeCollisionShape.h
r10189 r10624 56 56 public: 57 57 ConeCollisionShape(Context* context); 58 virtual ~ConeCollisionShape();59 58 60 59 private: -
code/trunk/src/modules/objects/collisionshapes/CylinderCollisionShape.cc
r10262 r10624 54 54 } 55 55 56 CylinderCollisionShape::~CylinderCollisionShape()57 {58 if (this->isInitialized())59 delete this->collisionShape_;60 }61 62 56 /** 63 57 @brief -
code/trunk/src/modules/objects/collisionshapes/CylinderCollisionShape.h
r10262 r10624 53 53 public: 54 54 CylinderCollisionShape(Context* context); 55 virtual ~CylinderCollisionShape();56 55 57 56 private: -
code/trunk/src/modules/objects/collisionshapes/PlaneCollisionShape.cc
r9667 r10624 59 59 } 60 60 61 PlaneCollisionShape::~PlaneCollisionShape()62 {63 if (this->isInitialized())64 delete this->collisionShape_;65 }66 67 61 void PlaneCollisionShape::registerVariables() 68 62 { -
code/trunk/src/modules/objects/collisionshapes/PlaneCollisionShape.h
r9667 r10624 58 58 public: 59 59 PlaneCollisionShape(Context* context); 60 virtual ~PlaneCollisionShape();61 60 62 61 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); -
code/trunk/src/modules/objects/collisionshapes/SphereCollisionShape.cc
r9667 r10624 58 58 } 59 59 60 SphereCollisionShape::~SphereCollisionShape()61 {62 if (this->isInitialized())63 delete this->collisionShape_;64 }65 66 60 void SphereCollisionShape::registerVariables() 67 61 { -
code/trunk/src/modules/objects/collisionshapes/SphereCollisionShape.h
r9667 r10624 56 56 public: 57 57 SphereCollisionShape(Context* context); 58 virtual ~SphereCollisionShape();59 58 60 59 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
Note: See TracChangeset
for help on using the changeset viewer.