mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
return concrete NodePath objects instead of references
This commit is contained in:
parent
029a19b435
commit
a76f4015c6
@ -104,7 +104,7 @@ get_into_node() const {
|
|||||||
// that has been added to a CollisionTraverser via
|
// that has been added to a CollisionTraverser via
|
||||||
// add_collider().
|
// add_collider().
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE const NodePath &CollisionEntry::
|
INLINE NodePath CollisionEntry::
|
||||||
get_from_node_path() const {
|
get_from_node_path() const {
|
||||||
return _from_node_path;
|
return _from_node_path;
|
||||||
}
|
}
|
||||||
@ -120,7 +120,7 @@ get_from_node_path() const {
|
|||||||
// resolve the particular instance of the node, if there
|
// resolve the particular instance of the node, if there
|
||||||
// is more than one.
|
// is more than one.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE const NodePath &CollisionEntry::
|
INLINE NodePath CollisionEntry::
|
||||||
get_into_node_path() const {
|
get_into_node_path() const {
|
||||||
return _into_node_path;
|
return _into_node_path;
|
||||||
}
|
}
|
||||||
|
@ -60,8 +60,8 @@ PUBLISHED:
|
|||||||
|
|
||||||
INLINE CollisionNode *get_from_node() const;
|
INLINE CollisionNode *get_from_node() const;
|
||||||
INLINE PandaNode *get_into_node() const;
|
INLINE PandaNode *get_into_node() const;
|
||||||
INLINE const NodePath &get_from_node_path() const;
|
INLINE NodePath get_from_node_path() const;
|
||||||
INLINE const NodePath &get_into_node_path() const;
|
INLINE NodePath get_into_node_path() const;
|
||||||
|
|
||||||
INLINE bool get_respect_prev_transform() const;
|
INLINE bool get_respect_prev_transform() const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user