Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 13, 2014, 3:52:23 PM (11 years ago)
Author:
noep
Message:

Tried (and failed) to fix output of CollisionShape-structure

Location:
code/branches/modularships/src/orxonox/collisionshapes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/src/orxonox/collisionshapes/CollisionShape.h

    r9997 r10001  
    170170            void notifyDetached(); // Notifies the CollisionShape of being detached from a CompoundCollisionShape.
    171171
    172             inline unsigned int getparentID()
     172            inline unsigned int getParentID()
    173173                { return this->parentID_; }
     174
     175            inline CompoundCollisionShape* getParent()
     176                { return this->parent_; }
    174177
    175178        protected:
  • code/branches/modularships/src/orxonox/collisionshapes/CompoundCollisionShape.h

    r9997 r10001  
    7373            int getNumChildShapes();
    7474
     75            inline std::map<CollisionShape*, btCollisionShape*> getShapesMap()
     76            {
     77                return attachedShapes_;
     78            }
     79
    7580        private:
    7681            void updatePublicShape();
Note: See TracChangeset for help on using the changeset viewer.