mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
Fixed const-correctness for BulletAllHitRayResult.
This commit is contained in:
parent
b7ef0d3bc3
commit
d320aced73
@ -156,7 +156,7 @@ get_hit_fraction() const {
|
|||||||
// Access: Published
|
// Access: Published
|
||||||
// Description:
|
// Description:
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
PandaNode *BulletRayHit::
|
const PandaNode *BulletRayHit::
|
||||||
get_node() const {
|
get_node() const {
|
||||||
|
|
||||||
return (_object) ? (PandaNode *)_object->getUserPointer() : NULL;
|
return (_object) ? (PandaNode *)_object->getUserPointer() : NULL;
|
||||||
|
@ -33,7 +33,7 @@ struct EXPCL_PANDABULLET BulletRayHit {
|
|||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
INLINE static BulletRayHit empty();
|
INLINE static BulletRayHit empty();
|
||||||
|
|
||||||
PandaNode *get_node() const;
|
const PandaNode *get_node() const;
|
||||||
LPoint3 get_hit_pos() const;
|
LPoint3 get_hit_pos() const;
|
||||||
LVector3 get_hit_normal() const;
|
LVector3 get_hit_normal() const;
|
||||||
PN_stdfloat get_hit_fraction() const;
|
PN_stdfloat get_hit_fraction() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user