added ls()
This commit is contained in:
parent
c4dc626ead
commit
e17eb83f3c
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef COLLISIONHANDLERQUEUE_H
|
||||
#define COLLISIONHANDLERQUEUE_H
|
||||
|
||||
#include <pandabase.h>
|
||||
#include "pandabase.h"
|
||||
|
||||
#include "collisionHandler.h"
|
||||
#include "collisionEntry.h"
|
||||
|
|
|
|||
|
|
@ -83,4 +83,15 @@ clear_recorder() {
|
|||
set_recorder((CollisionRecorder *)NULL);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: CollisionTraverser::ls
|
||||
// Access: Published
|
||||
// Description: Shortcut for write(). This is handy for interactive
|
||||
// debugging.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void CollisionTraverser::
|
||||
ls() const {
|
||||
write(nout, 0);
|
||||
}
|
||||
|
||||
#endif // DO_COLLISION_RECORDING
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ PUBLISHED:
|
|||
#endif // DO_COLLISION_RECORDING
|
||||
|
||||
void output(ostream &out) const;
|
||||
INLINE void ls() const;
|
||||
void write(ostream &out, int indent_level) const;
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Reference in New Issue