mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-22 07:01:45 -04:00
fix test_collide
This commit is contained in:
parent
98f6c845b9
commit
c86002f6f7
@ -54,6 +54,7 @@
|
||||
#define TARGET test_collide
|
||||
#define LOCAL_LIBS \
|
||||
collide
|
||||
#define OTHER_LIBS $[OTHER_LIBS] pystub
|
||||
|
||||
#define SOURCES \
|
||||
test_collide.cxx
|
||||
|
@ -62,6 +62,7 @@ main(int argc, char *argv[]) {
|
||||
|
||||
CollisionTraverser ct;
|
||||
PT(CollisionHandlerPusher) chp = new CollisionHandlerPusher;
|
||||
chp->add_collider(aa, a_aa);
|
||||
ct.add_collider(aa, chp);
|
||||
|
||||
ct.traverse(r);
|
||||
|
Loading…
x
Reference in New Issue
Block a user