diff options
author | Bruno Dilly <bdilly@profusion.mobi> | 2012-10-31 21:02:50 +0000 |
---|---|---|
committer | Bruno Dilly <bdilly@profusion.mobi> | 2012-10-31 21:02:50 +0000 |
commit | 9f04fdf72327dce4efc4fc97940f34e526c92f9c (patch) | |
tree | 8f92821fbaf6c89c9fcda194480a424fe6643e37 /legacy/ephysics/src/lib/EPhysics.h | |
parent | 67f36ff0482d82a3a537cb393fd238eb3ee671cb (diff) |
ephysics: use evas_object_image_source API
Remove workaround on soft body slicing
SVN revision: 78726
Diffstat (limited to '')
-rw-r--r-- | legacy/ephysics/src/lib/EPhysics.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h index 2d869783af..8c33af4ac5 100644 --- a/legacy/ephysics/src/lib/EPhysics.h +++ b/legacy/ephysics/src/lib/EPhysics.h | |||
@@ -2428,16 +2428,10 @@ EAPI EPhysics_World *ephysics_body_world_get(const EPhysics_Body *body); | |||
2428 | * updates of associated evas objects, or complement updates, like changing | 2428 | * updates of associated evas objects, or complement updates, like changing |
2429 | * evas objects properties under certain conditions of position or rotation. | 2429 | * evas objects properties under certain conditions of position or rotation. |
2430 | * | 2430 | * |
2431 | * Case @p body is a soft one a new evas_object will be returned, actually | ||
2432 | * this is an smart object which maps many slices of @p evas_obj to reflect | ||
2433 | * the soft body deformation. | ||
2434 | * | ||
2435 | * @param body The body to associate to an evas object. | 2431 | * @param body The body to associate to an evas object. |
2436 | * @param evas_obj The evas object that will be associated to this @p body. | 2432 | * @param evas_obj The evas object that will be associated to this @p body. |
2437 | * @param use_obj_pos If @c EINA_TRUE it will set the physics body position | 2433 | * @param use_obj_pos If @c EINA_TRUE it will set the physics body position |
2438 | * to match evas object position taking world rate on consideration. | 2434 | * to match evas object position taking world rate on consideration. |
2439 | * @return NULL on failure, @p evas_obj case @p body is a rigid body or a | ||
2440 | * new Evas_Object if @p body is a soft body. | ||
2441 | * | 2435 | * |
2442 | * @see ephysics_body_box_add(). | 2436 | * @see ephysics_body_box_add(). |
2443 | * @see ephysics_body_soft_box_add(). | 2437 | * @see ephysics_body_soft_box_add(). |
@@ -2448,7 +2442,7 @@ EAPI EPhysics_World *ephysics_body_world_get(const EPhysics_Body *body); | |||
2448 | * | 2442 | * |
2449 | * @ingroup EPhysics_Body | 2443 | * @ingroup EPhysics_Body |
2450 | */ | 2444 | */ |
2451 | EAPI Evas_Object *ephysics_body_evas_object_set(EPhysics_Body *body, Evas_Object *evas_obj, Eina_Bool use_obj_pos); | 2445 | EAPI void ephysics_body_evas_object_set(EPhysics_Body *body, Evas_Object *evas_obj, Eina_Bool use_obj_pos); |
2452 | 2446 | ||
2453 | /** | 2447 | /** |
2454 | * @brief | 2448 | * @brief |