Browse Source

publish set_velocity etc.

David Rose 22 năm trước cách đây
mục cha
commit
0b1a13f06b

+ 3 - 3
panda/src/pgraph/pandaNode.cxx

@@ -1275,7 +1275,7 @@ write(ostream &out, int indent_level) const {
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: PandaNode::is_geom_node
 //     Function: PandaNode::is_geom_node
-//       Access: Public, Virtual
+//       Access: Published, Virtual
 //  Description: A simple downcast check.  Returns true if this kind
 //  Description: A simple downcast check.  Returns true if this kind
 //               of node happens to inherit from GeomNode, false
 //               of node happens to inherit from GeomNode, false
 //               otherwise.
 //               otherwise.
@@ -1291,7 +1291,7 @@ is_geom_node() const {
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: PandaNode::as_light
 //     Function: PandaNode::as_light
-//       Access: Public, Virtual
+//       Access: Published, Virtual
 //  Description: Cross-casts the node to a Light pointer, if it is one
 //  Description: Cross-casts the node to a Light pointer, if it is one
 //               of the four kinds of Light nodes, or returns NULL if
 //               of the four kinds of Light nodes, or returns NULL if
 //               it is not.
 //               it is not.
@@ -1303,7 +1303,7 @@ as_light() {
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: PandaNode::set_velocity
 //     Function: PandaNode::set_velocity
-//       Access: Public, Virtual
+//       Access: Published, Virtual
 //  Description: Indicates the instantaneous velocity of this node.
 //  Description: Indicates the instantaneous velocity of this node.
 //               This function is meaningless to most kinds of nodes;
 //               This function is meaningless to most kinds of nodes;
 //               it is implemented only for CollisionNodes and is
 //               it is implemented only for CollisionNodes and is

+ 0 - 1
panda/src/pgraph/pandaNode.h

@@ -177,7 +177,6 @@ PUBLISHED:
   INLINE const BoundingVolume &get_bound() const;
   INLINE const BoundingVolume &get_bound() const;
   INLINE const BoundingVolume &get_internal_bound() const;
   INLINE const BoundingVolume &get_internal_bound() const;
 
 
-public:
   virtual bool is_geom_node() const;
   virtual bool is_geom_node() const;
   virtual Light *as_light();
   virtual Light *as_light();
   virtual void set_velocity(const LVector3f &vel);
   virtual void set_velocity(const LVector3f &vel);