Changeset 10417 for code/branches/core7/src/modules
- Timestamp:
- May 3, 2015, 1:31:18 PM (10 years ago)
- Location:
- code/branches/core7/src/modules/objects/collisionshapes
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/modules/objects/collisionshapes/BoxCollisionShape.cc
r9667 r10417 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/branches/core7/src/modules/objects/collisionshapes/BoxCollisionShape.h
r9667 r10417 58 58 public: 59 59 BoxCollisionShape(Context* context); 60 virtual ~BoxCollisionShape();61 60 62 61 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); -
code/branches/core7/src/modules/objects/collisionshapes/ConeCollisionShape.cc
r10189 r10417 54 54 } 55 55 56 ConeCollisionShape::~ConeCollisionShape()57 {58 if (this->isInitialized())59 delete this->collisionShape_;60 }61 62 56 /** 63 57 @brief -
code/branches/core7/src/modules/objects/collisionshapes/ConeCollisionShape.h
r10189 r10417 56 56 public: 57 57 ConeCollisionShape(Context* context); 58 virtual ~ConeCollisionShape();59 58 60 59 private: -
code/branches/core7/src/modules/objects/collisionshapes/CylinderCollisionShape.cc
r10262 r10417 54 54 } 55 55 56 CylinderCollisionShape::~CylinderCollisionShape()57 {58 if (this->isInitialized())59 delete this->collisionShape_;60 }61 62 56 /** 63 57 @brief -
code/branches/core7/src/modules/objects/collisionshapes/CylinderCollisionShape.h
r10262 r10417 53 53 public: 54 54 CylinderCollisionShape(Context* context); 55 virtual ~CylinderCollisionShape();56 55 57 56 private: -
code/branches/core7/src/modules/objects/collisionshapes/PlaneCollisionShape.cc
r9667 r10417 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/branches/core7/src/modules/objects/collisionshapes/PlaneCollisionShape.h
r9667 r10417 58 58 public: 59 59 PlaneCollisionShape(Context* context); 60 virtual ~PlaneCollisionShape();61 60 62 61 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); -
code/branches/core7/src/modules/objects/collisionshapes/SphereCollisionShape.cc
r9667 r10417 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/branches/core7/src/modules/objects/collisionshapes/SphereCollisionShape.h
r9667 r10417 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.