summaryrefslogtreecommitdiff
path: root/legacy/ephysics/src/lib/EPhysics.h
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-11-23 21:51:44 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-11-23 21:51:44 +0000
commitecd61b29afe35de33bf6430ac8277435c2713a10 (patch)
tree72b9ba4a25d2fda002ba3804f79de1e6baef1159 /legacy/ephysics/src/lib/EPhysics.h
parent0e3e700e5278df23ea1aa7914c6a4199951bb0d6 (diff)
EPhysics: add api to get the slice index based on its
evas object Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79604
Diffstat (limited to '')
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index 2f3a0bcaae..9172ab00e1 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -2388,6 +2388,24 @@ EAPI int ephysics_body_soft_body_triangle_index_get(EPhysics_Body *body, Evas_Co
2388 2388
2389/** 2389/**
2390 * @brief 2390 * @brief
2391 * Get the slice index of a soft body based on its slice`s Evas Object.
2392 *
2393 * Registering a mouse event callback on an associated evas object one can get
2394 * the clicked slice evas object. With that pointer the user can get the slice
2395 * index based on its related evas object.
2396 *
2397 * @param body The body to get the slice index from.
2398 * @param slice The slice evas object.
2399 * @return The slice index on success, -1 otherwise.
2400 *
2401 * @see ephysics_body_soft_body_triangle_index_get().
2402 *
2403 * @ingroup EPhysics_Body
2404 */
2405EAPI int ephysics_body_soft_body_slice_index_get(EPhysics_Body *body, Evas_Object *slice);
2406
2407/**
2408 * @brief
2391 * Add a soft ellipsoid. 2409 * Add a soft ellipsoid.
2392 * 2410 *
2393 * Add a new soft 3d ellipsoid to the simulation. The @p granularity defines how 2411 * Add a new soft 3d ellipsoid to the simulation. The @p granularity defines how