mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
added ls()
This commit is contained in:
parent
c4dc626ead
commit
e17eb83f3c
@ -19,7 +19,7 @@
|
|||||||
#ifndef COLLISIONHANDLERQUEUE_H
|
#ifndef COLLISIONHANDLERQUEUE_H
|
||||||
#define COLLISIONHANDLERQUEUE_H
|
#define COLLISIONHANDLERQUEUE_H
|
||||||
|
|
||||||
#include <pandabase.h>
|
#include "pandabase.h"
|
||||||
|
|
||||||
#include "collisionHandler.h"
|
#include "collisionHandler.h"
|
||||||
#include "collisionEntry.h"
|
#include "collisionEntry.h"
|
||||||
|
@ -83,4 +83,15 @@ clear_recorder() {
|
|||||||
set_recorder((CollisionRecorder *)NULL);
|
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
|
#endif // DO_COLLISION_RECORDING
|
||||||
|
@ -80,6 +80,7 @@ PUBLISHED:
|
|||||||
#endif // DO_COLLISION_RECORDING
|
#endif // DO_COLLISION_RECORDING
|
||||||
|
|
||||||
void output(ostream &out) const;
|
void output(ostream &out) const;
|
||||||
|
INLINE void ls() const;
|
||||||
void write(ostream &out, int indent_level) const;
|
void write(ostream &out, int indent_level) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user