aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ephysics/src/lib
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-11-28 21:47:47 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-11-28 21:47:47 +0000
commit1a1890fabb559afbc693043f8ef782ec0b30f256 (patch)
tree31dae316f69914ea0861904f95c4506a7ed8d745 /legacy/ephysics/src/lib
parent704173e5397c72b57b687c0c42c03f98f4b61c29 (diff)
downloadefl-1a1890fabb559afbc693043f8ef782ec0b30f256.tar.gz
efl-1a1890fabb559afbc693043f8ef782ec0b30f256.tar.xz
efl-1a1890fabb559afbc693043f8ef782ec0b30f256.zip
ephysics: add improve dbg msgs
To help me debuging it while I'm working on Edje. SVN revision: 79790
Diffstat (limited to 'legacy/ephysics/src/lib')
-rw-r--r--legacy/ephysics/src/lib/ephysics_body.cpp3
-rw-r--r--legacy/ephysics/src/lib/ephysics_world.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/legacy/ephysics/src/lib/ephysics_body.cpp b/legacy/ephysics/src/lib/ephysics_body.cpp
index 78600916d..25f86ab35 100644
--- a/legacy/ephysics/src/lib/ephysics_body.cpp
+++ b/legacy/ephysics/src/lib/ephysics_body.cpp
@@ -3236,6 +3236,9 @@ ephysics_body_geometry_set(EPhysics_Body *body, Evas_Coord x, Evas_Coord y, Evas
return;
}
+ INF("Body: %p geometry set to x=%i y=%i z=%i w=%i h=%i d=%i.",
+ body, x, y, z, w, h, d);
+
if ((w <= 0) || (h <= 0) || (d <= 0))
{
ERR("Width, height and depth must to be a non-null, positive value.");
diff --git a/legacy/ephysics/src/lib/ephysics_world.cpp b/legacy/ephysics/src/lib/ephysics_world.cpp
index a3b24863f..8ee9481d5 100644
--- a/legacy/ephysics/src/lib/ephysics_world.cpp
+++ b/legacy/ephysics/src/lib/ephysics_world.cpp
@@ -1240,6 +1240,9 @@ ephysics_world_render_geometry_set(EPhysics_World *world, Evas_Coord x, Evas_Coo
world->geometry.h = h;
world->geometry.d = d;
+ INF("World %p render geometry set: x=%i y=%i z=%i w=%i h=%i d=%i",
+ world, x, y, z, w, h, d);
+
ephysics_camera_perspective_set(world->camera, x + w / 2, y + h / 2,
z + d / 2, 10 * (z + d));