summaryrefslogtreecommitdiff
path: root/src/lib/ephysics
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-28 14:12:17 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-29 09:12:26 +0900
commit6b8228ffbde5bbe9b8c53a46ae226946ae7afb70 (patch)
tree7a981912c51af0cf0fb0ec69b069888e4924e985 /src/lib/ephysics
parent761b89b7411e0af56ea7fbd76c598c33d15e487f (diff)
evas: Move map to a separate mixin
Evas map is not translated to proper eo apis yet. Efl.Canvas.Map will be a mixin implementing the evas map API in a bindable API.
Diffstat (limited to 'src/lib/ephysics')
-rw-r--r--src/lib/ephysics/ephysics_body.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ephysics/ephysics_body.cpp b/src/lib/ephysics/ephysics_body.cpp
index 98da084..7c4754b 100644
--- a/src/lib/ephysics/ephysics_body.cpp
+++ b/src/lib/ephysics/ephysics_body.cpp
@@ -1372,7 +1372,7 @@ _ephysics_body_del(EPhysics_Body *body)
1372} 1372}
1373 1373
1374static void 1374static void
1375_ephysics_body_efl_canvas_object_map_apply(EPhysics_Body *body, Evas_Map *map, Evas_Object *obj, Eina_Bool bfc, Eina_Bool update_cw) 1375_ephysics_body_evas_object_map_apply(EPhysics_Body *body, Evas_Map *map, Evas_Object *obj, Eina_Bool bfc, Eina_Bool update_cw)
1376{ 1376{
1377 EPhysics_Camera *camera = ephysics_world_camera_get(body->world); 1377 EPhysics_Camera *camera = ephysics_world_camera_get(body->world);
1378 1378
@@ -1504,7 +1504,7 @@ _ephysics_cylinder_face_objs_update(EPhysics_Body *body)
1504 evas_map_util_quat_rotate(map, quat.x(), -quat.y(), quat.z(), -quat.w(), 1504 evas_map_util_quat_rotate(map, quat.x(), -quat.y(), quat.z(), -quat.w(),
1505 bx, by, z); 1505 bx, by, z);
1506 1506
1507 _ephysics_body_efl_canvas_object_map_apply(body, map, obj, EINA_TRUE, 1507 _ephysics_body_evas_object_map_apply(body, map, obj, EINA_TRUE,
1508 EINA_FALSE); 1508 EINA_FALSE);
1509 } 1509 }
1510} 1510}
@@ -1624,7 +1624,7 @@ _ephysics_box_face_objs_update(EPhysics_Body *body)
1624 1624
1625 evas_map_util_quat_rotate(map, quat.x(), -quat.y(), quat.z(), -quat.w(), 1625 evas_map_util_quat_rotate(map, quat.x(), -quat.y(), quat.z(), -quat.w(),
1626 x, y, z); 1626 x, y, z);
1627 _ephysics_body_efl_canvas_object_map_apply(body, map, obj, EINA_TRUE, 1627 _ephysics_body_evas_object_map_apply(body, map, obj, EINA_TRUE,
1628 EINA_FALSE); 1628 EINA_FALSE);
1629 } 1629 }
1630} 1630}
@@ -1680,7 +1680,7 @@ _ephysics_body_evas_object_update(EPhysics_Body *body, Evas_Object *evas_obj)
1680 evas_map_util_quat_rotate(map, quat.x(), -quat.y(), quat.z(), -quat.w(), 1680 evas_map_util_quat_rotate(map, quat.x(), -quat.y(), quat.z(), -quat.w(),
1681 bx, by, z); 1681 bx, by, z);
1682 1682
1683 _ephysics_body_efl_canvas_object_map_apply(body, map, evas_obj, 1683 _ephysics_body_evas_object_map_apply(body, map, evas_obj,
1684 body->back_face_culling, EINA_TRUE); 1684 body->back_face_culling, EINA_TRUE);
1685} 1685}
1686 1686