From 0b1a13f06b1594b69d5bfec2e3859b9281feb57a Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 6 Jun 2003 15:53:50 +0000 Subject: [PATCH] publish set_velocity etc. --- panda/src/pgraph/pandaNode.cxx | 6 +++--- panda/src/pgraph/pandaNode.h | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/panda/src/pgraph/pandaNode.cxx b/panda/src/pgraph/pandaNode.cxx index 94acef9aec..9f3d8e4d6a 100644 --- a/panda/src/pgraph/pandaNode.cxx +++ b/panda/src/pgraph/pandaNode.cxx @@ -1275,7 +1275,7 @@ write(ostream &out, int indent_level) const { //////////////////////////////////////////////////////////////////// // Function: PandaNode::is_geom_node -// Access: Public, Virtual +// Access: Published, Virtual // Description: A simple downcast check. Returns true if this kind // of node happens to inherit from GeomNode, false // otherwise. @@ -1291,7 +1291,7 @@ is_geom_node() const { //////////////////////////////////////////////////////////////////// // Function: PandaNode::as_light -// Access: Public, Virtual +// Access: Published, Virtual // Description: Cross-casts the node to a Light pointer, if it is one // of the four kinds of Light nodes, or returns NULL if // it is not. @@ -1303,7 +1303,7 @@ as_light() { //////////////////////////////////////////////////////////////////// // Function: PandaNode::set_velocity -// Access: Public, Virtual +// Access: Published, Virtual // Description: Indicates the instantaneous velocity of this node. // This function is meaningless to most kinds of nodes; // it is implemented only for CollisionNodes and is diff --git a/panda/src/pgraph/pandaNode.h b/panda/src/pgraph/pandaNode.h index c3fa421bc0..152dc50fbc 100644 --- a/panda/src/pgraph/pandaNode.h +++ b/panda/src/pgraph/pandaNode.h @@ -177,7 +177,6 @@ PUBLISHED: INLINE const BoundingVolume &get_bound() const; INLINE const BoundingVolume &get_internal_bound() const; -public: virtual bool is_geom_node() const; virtual Light *as_light(); virtual void set_velocity(const LVector3f &vel);