summaryrefslogtreecommitdiff
path: root/legacy/ephysics/src/lib/EPhysics.h
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-10-10 19:18:15 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-10-10 19:18:15 +0000
commit17fa1d77567d2919bff87176bdd671cc86dbd447 (patch)
treeb81a9e209b47076d2b4016e8c0a884e0939406d7 /legacy/ephysics/src/lib/EPhysics.h
parent21e6264deb1a9898b6d98e20bcf6c15a9aeca271 (diff)
EPhysics: add depth parameter to boundary api
Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 77785
Diffstat (limited to '')
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index 2d294b6850..1603fd5fdf 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -1796,12 +1796,13 @@ EAPI EPhysics_Body *ephysics_body_shape_add(EPhysics_World *world, EPhysics_Shap
1796 * @ref ephysics_world_render_geometry_set(). 1796 * @ref ephysics_world_render_geometry_set().
1797 * 1797 *
1798 * @param world The world this body will belong to. 1798 * @param world The world this body will belong to.
1799 * @param d The boundary depth, in pixels.
1799 * @return a new body or @c NULL, on erros. 1800 * @return a new body or @c NULL, on erros.
1800 * @see ephysics_world_render_geometry_set() 1801 * @see ephysics_world_render_geometry_set()
1801 * 1802 *
1802 * @ingroup EPhysics_Body 1803 * @ingroup EPhysics_Body
1803 */ 1804 */
1804EAPI EPhysics_Body *ephysics_body_top_boundary_add(EPhysics_World *world); 1805EAPI EPhysics_Body *ephysics_body_top_boundary_add(EPhysics_World *world, Evas_Coord d);
1805 1806
1806/** 1807/**
1807 * @brief 1808 * @brief
@@ -1812,12 +1813,13 @@ EAPI EPhysics_Body *ephysics_body_top_boundary_add(EPhysics_World *world);
1812 * @ref ephysics_world_render_geometry_set(). 1813 * @ref ephysics_world_render_geometry_set().
1813 * 1814 *
1814 * @param world The world this body will belong to. 1815 * @param world The world this body will belong to.
1816 * @param d The boundary depth, in pixels.
1815 * @return a new body or @c NULL, on erros. 1817 * @return a new body or @c NULL, on erros.
1816 * @see ephysics_world_render_geometry_set() 1818 * @see ephysics_world_render_geometry_set()
1817 * 1819 *
1818 * @ingroup EPhysics_Body 1820 * @ingroup EPhysics_Body
1819 */ 1821 */
1820EAPI EPhysics_Body *ephysics_body_bottom_boundary_add(EPhysics_World *world); 1822EAPI EPhysics_Body *ephysics_body_bottom_boundary_add(EPhysics_World *world, Evas_Coord d);
1821 1823
1822/** 1824/**
1823 * @brief 1825 * @brief
@@ -1828,12 +1830,13 @@ EAPI EPhysics_Body *ephysics_body_bottom_boundary_add(EPhysics_World *world);
1828 * @ref ephysics_world_render_geometry_set(). 1830 * @ref ephysics_world_render_geometry_set().
1829 * 1831 *
1830 * @param world The world this body will belong to. 1832 * @param world The world this body will belong to.
1833 * @param d The boundary depth, in pixels.
1831 * @return a new body or @c NULL, on erros. 1834 * @return a new body or @c NULL, on erros.
1832 * @see ephysics_world_render_geometry_set() 1835 * @see ephysics_world_render_geometry_set()
1833 * 1836 *
1834 * @ingroup EPhysics_Body 1837 * @ingroup EPhysics_Body
1835 */ 1838 */
1836EAPI EPhysics_Body *ephysics_body_left_boundary_add(EPhysics_World *world); 1839EAPI EPhysics_Body *ephysics_body_left_boundary_add(EPhysics_World *world, Evas_Coord d);
1837 1840
1838/** 1841/**
1839 * @brief 1842 * @brief
@@ -1844,12 +1847,13 @@ EAPI EPhysics_Body *ephysics_body_left_boundary_add(EPhysics_World *world);
1844 * @ref ephysics_world_render_geometry_set(). 1847 * @ref ephysics_world_render_geometry_set().
1845 * 1848 *
1846 * @param world The world this body will belong to. 1849 * @param world The world this body will belong to.
1850 * @param d The boundary depth, in pixels.
1847 * @return a new body or @c NULL, on erros. 1851 * @return a new body or @c NULL, on erros.
1848 * @see ephysics_world_render_geometry_set() 1852 * @see ephysics_world_render_geometry_set()
1849 * 1853 *
1850 * @ingroup EPhysics_Body 1854 * @ingroup EPhysics_Body
1851 */ 1855 */
1852EAPI EPhysics_Body *ephysics_body_right_boundary_add(EPhysics_World *world); 1856EAPI EPhysics_Body *ephysics_body_right_boundary_add(EPhysics_World *world, Evas_Coord d);
1853 1857
1854/** 1858/**
1855 * @brief 1859 * @brief