mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Removing unnecessary const-ness of return values in BulletContactResult
This commit is contained in:
parent
3ae3c26eb8
commit
d5d13d2990
@ -18,7 +18,7 @@
|
|||||||
// Access: Published
|
// Access: Published
|
||||||
// Description:
|
// Description:
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE const PandaNode *BulletContact::
|
INLINE PandaNode *BulletContact::
|
||||||
get_node0() const {
|
get_node0() const {
|
||||||
|
|
||||||
return _obj0 ? (PandaNode *)_obj0->getUserPointer() : NULL;
|
return _obj0 ? (PandaNode *)_obj0->getUserPointer() : NULL;
|
||||||
@ -29,7 +29,7 @@ get_node0() const {
|
|||||||
// Access: Published
|
// Access: Published
|
||||||
// Description:
|
// Description:
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE const PandaNode *BulletContact::
|
INLINE PandaNode *BulletContact::
|
||||||
get_node1() const {
|
get_node1() const {
|
||||||
|
|
||||||
return _obj1 ? (PandaNode *)_obj1->getUserPointer() : NULL;
|
return _obj1 ? (PandaNode *)_obj1->getUserPointer() : NULL;
|
||||||
|
@ -30,8 +30,8 @@ struct EXPCL_PANDABULLET BulletContact {
|
|||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE const BulletManifoldPoint *get_manifold_point() const;
|
INLINE const BulletManifoldPoint *get_manifold_point() const;
|
||||||
INLINE const PandaNode *get_node0() const;
|
INLINE PandaNode *get_node0() const;
|
||||||
INLINE const PandaNode *get_node1() const;
|
INLINE PandaNode *get_node1() const;
|
||||||
INLINE const int get_idx0() const;
|
INLINE const int get_idx0() const;
|
||||||
INLINE const int get_idx1() const;
|
INLINE const int get_idx1() const;
|
||||||
INLINE const int get_part_id0() const;
|
INLINE const int get_part_id0() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user