Browse Source

collide: Add docstring for CollisionTraverser::traverse()

rdb 5 năm trước cách đây
mục cha
commit
3fe1d286d0
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      panda/src/collide/collisionTraverser.cxx

+ 4 - 1
panda/src/collide/collisionTraverser.cxx

@@ -248,7 +248,10 @@ clear_colliders() {
 }
 
 /**
- *
+ * Perform the traversal. Begins at the indicated root and detects all
+ * collisions with any of its collider objects against nodes at or below the
+ * indicated root, calling the appropriate CollisionHandler for each detected
+ * collision.
  */
 void CollisionTraverser::
 traverse(const NodePath &root) {