forked from enlightenment/efl
ephysics: add improve dbg msgs
To help me debuging it while I'm working on Edje. SVN revision: 79790
This commit is contained in:
parent
704173e539
commit
1a1890fabb
|
@ -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.");
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue