mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -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
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
PandaNode *BulletRayHit::
|
||||
const PandaNode *BulletRayHit::
|
||||
get_node() const {
|
||||
|
||||
return (_object) ? (PandaNode *)_object->getUserPointer() : NULL;
|
||||
|
@ -33,7 +33,7 @@ struct EXPCL_PANDABULLET BulletRayHit {
|
||||
PUBLISHED:
|
||||
INLINE static BulletRayHit empty();
|
||||
|
||||
PandaNode *get_node() const;
|
||||
const PandaNode *get_node() const;
|
||||
LPoint3 get_hit_pos() const;
|
||||
LVector3 get_hit_normal() const;
|
||||
PN_stdfloat get_hit_fraction() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user