summaryrefslogtreecommitdiff
path: root/legacy/ephysics/src/lib/EPhysics.h
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-12-11 21:11:00 +0000
committerLeandro Dorileo <dorileo@profusion.mobi>2012-12-11 21:11:00 +0000
commit44a9b9a350589b53682381f2a5b0dfceb3acd7fc (patch)
tree62150a284f2f732fa9c9f9d5784e04225eebbae6 /legacy/ephysics/src/lib/EPhysics.h
parentc90d6c58426c40ebbd15e7d409fb61c195eecb31 (diff)
EPhysics: add ephysics_body_sphere_add() API
SVN revision: 80717
Diffstat (limited to '')
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index ec6d79981e..888e4be004 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -2670,6 +2670,30 @@ EAPI void ephysics_body_soft_body_bending_constraints_add(EPhysics_Body *body, i
2670 2670
2671/** 2671/**
2672 * @brief 2672 * @brief
2673 * Create a new sphere physics body.
2674 *
2675 * Its collision shape will be a sphere of diameter 1. To change its size @ref
2676 * ephysics_body_geometry_set(), @p ephysics_body_resize() should be used.
2677 *
2678 * Any evas object can be associated to it with @p
2679 * ephysics_body_evas_object_set(), and it will collid as a sphere(even if
2680 * you`ve associated an evas rectangle).
2681 *
2682 * For deformable sphere use @p ephysics_body_soft_ellipsoid_add() instead.
2683 *
2684 * @param world The world this body will belong to.
2685 * @return a new body or @c NULL, on errors.
2686 *
2687 * @see ephysics_body_del().
2688 * @see ephysics_body_evas_object_set().
2689 * @see ephysics_body_face_evas_object_set().
2690 *
2691 * @ingroup EPhysics_Body
2692 */
2693EAPI EPhysics_Body *ephysics_body_sphere_add(EPhysics_World *world);
2694
2695/**
2696 * @brief
2673 * Create a new cylinder physics body. 2697 * Create a new cylinder physics body.
2674 * 2698 *
2675 * Its collision shape will be a cylinder of diameter 1. To change it's size 2699 * Its collision shape will be a cylinder of diameter 1. To change it's size