diff --git a/panda/src/bullet/bulletContactResult.I b/panda/src/bullet/bulletContactResult.I index fe78cedbe7..cf1612aa73 100644 --- a/panda/src/bullet/bulletContactResult.I +++ b/panda/src/bullet/bulletContactResult.I @@ -51,7 +51,7 @@ get_manifold_point() { // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE const int BulletContact:: +INLINE int BulletContact:: get_idx0() const { return _idx0; @@ -62,7 +62,7 @@ get_idx0() const { // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE const int BulletContact:: +INLINE int BulletContact:: get_idx1() const { return _idx1; @@ -73,7 +73,7 @@ get_idx1() const { // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE const int BulletContact:: +INLINE int BulletContact:: get_part_id0() const { return _part_id0; @@ -84,7 +84,7 @@ get_part_id0() const { // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE const int BulletContact:: +INLINE int BulletContact:: get_part_id1() const { return _part_id1; @@ -112,4 +112,3 @@ get_contact(int idx) { nassertr(idx >= 0 && idx < (int)_contacts.size(), _empty); return _contacts[idx]; } - diff --git a/panda/src/bullet/bulletContactResult.h b/panda/src/bullet/bulletContactResult.h index 6de4962ae5..f44e52688c 100644 --- a/panda/src/bullet/bulletContactResult.h +++ b/panda/src/bullet/bulletContactResult.h @@ -24,7 +24,7 @@ //////////////////////////////////////////////////////////////////// // Class : BulletContact -// Description : +// Description : //////////////////////////////////////////////////////////////////// struct EXPCL_PANDABULLET BulletContact { @@ -36,10 +36,10 @@ PUBLISHED: INLINE BulletManifoldPoint &get_manifold_point(); INLINE PandaNode *get_node0() const; INLINE PandaNode *get_node1() const; - INLINE const int get_idx0() const; - INLINE const int get_idx1() const; - INLINE const int get_part_id0() const; - INLINE const int get_part_id1() const; + INLINE int get_idx0() const; + INLINE int get_idx1() const; + INLINE int get_part_id0() const; + INLINE int get_part_id1() const; private: static btManifoldPoint _empty; @@ -59,7 +59,7 @@ private: //////////////////////////////////////////////////////////////////// // Class : BulletContactResult -// Description : +// Description : //////////////////////////////////////////////////////////////////// struct EXPCL_PANDABULLET BulletContactResult : public btCollisionWorld::ContactResultCallback {