[clutter-box2dmm: 10/10] Demonstration of the exposed get_actor{1, 2}() of Box2DCollision
- From: Aidan Delaney <adelaney src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-box2dmm: 10/10] Demonstration of the exposed get_actor{1, 2}() of Box2DCollision
- Date: Sun, 11 Mar 2012 22:07:35 +0000 (UTC)
commit 8ffa416e5ded88fc8a7305df0e2b8f64286b61d5
Author: Aidan Delaney <aidan phoric eu>
Date: Sun Mar 11 22:04:23 2012 +0000
Demonstration of the exposed get_actor{1,2}() of Box2DCollision
examples/slides/main.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/slides/main.cc b/examples/slides/main.cc
index d63b24a..c0a6333 100644
--- a/examples/slides/main.cc
+++ b/examples/slides/main.cc
@@ -5,7 +5,7 @@
static void
handle_collision(const Glib::RefPtr<Clutter::Box2D::Box2DCollision>& c)
{
- // std::cout << "Collision detected with " << c->get_actor1() << std::endl;
+ std::cout << "Collision detected between " << c->get_actor1()->get_type() << " and " << c->get_actor2()->get_type() << std::endl;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]