Procházet zdrojové kódy

publish set_velocity etc.

David Rose před 22 roky
rodič
revize
0b1a13f06b
2 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. 3 3
      panda/src/pgraph/pandaNode.cxx
  2. 0 1
      panda/src/pgraph/pandaNode.h

+ 3 - 3
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

+ 0 - 1
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);