summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-07-31 22:24:51 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-07-31 22:24:51 +0000
commitbb4344642179302e7d712eb8550292a2bfb5efa4 (patch)
treee620ef6f7f81fe55c1d9646a53d7b84e20c9d926 /legacy
parent701ed6b8fdd7fb1a037b6a7179903bcaace4dacf (diff)
EPhysics: small fixes related to slider constraint
SVN revision: 74700
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ephysics/src/bin/test_slider.c2
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h8
2 files changed, 7 insertions, 3 deletions
diff --git a/legacy/ephysics/src/bin/test_slider.c b/legacy/ephysics/src/bin/test_slider.c
index 56aae11392..e1a5cdee8b 100644
--- a/legacy/ephysics/src/bin/test_slider.c
+++ b/legacy/ephysics/src/bin/test_slider.c
@@ -163,5 +163,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
163 ephysics_body_restitution_set(boundary, 0.65); 163 ephysics_body_restitution_set(boundary, 0.65);
164 ephysics_body_friction_set(boundary, 3); 164 ephysics_body_friction_set(boundary, 3);
165 165
166 ephysics_body_left_boundary_add(test_data->world);
167
166 _world_populate(test_data); 168 _world_populate(test_data);
167} 169}
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index 49d3d20b57..a426830d66 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -2082,12 +2082,13 @@ EAPI void *ephysics_body_data_get(const EPhysics_Body *body);
2082 * between bodies and the world. Constraints can limit movement angle, 2082 * between bodies and the world. Constraints can limit movement angle,
2083 * translation, or work like a motor. 2083 * translation, or work like a motor.
2084 * 2084 *
2085 * Constraints can be created with @ref ephysics_constraint_add() and removed 2085 * Constraints can be created with @ref ephysics_constraint_p2p_add()
2086 * or @ref ephysics_constraint_slider_add() and removed
2086 * with @ref ephysics_constraint_del(). 2087 * with @ref ephysics_constraint_del().
2087 * Can be applied between two bodies or between a body and the world. 2088 * Can be applied between two bodies or between a body and the world.
2088 */ 2089 */
2089 2090
2090typedef struct _EPhysics_Constraint EPhysics_Constraint; /**< Constraint handle, used to limit bodies movements. Created with @ref ephysics_constraint_add() and deleted with @ref ephysics_constraint_del(). */ 2091typedef struct _EPhysics_Constraint EPhysics_Constraint; /**< Constraint handle, used to limit bodies movements. Created with @ref ephysics_constraint_p2p_add() or @ref ephysics_constraint_slider_add() and deleted with @ref ephysics_constraint_del(). */
2091 2092
2092/** 2093/**
2093 * @brief 2094 * @brief
@@ -2204,7 +2205,8 @@ EAPI void ephysics_constraint_slider_angular_limit_get(const EPhysics_Constraint
2204 * 2205 *
2205 * @param constraint The constraint to be deleted. 2206 * @param constraint The constraint to be deleted.
2206 * 2207 *
2207 * @see ephysics_constraint_add() for more details. 2208 * @see ephysics_constraint_p2p_add() for more details.
2209 * @see ephysics_constraint_slider_add() for more details.
2208 * 2210 *
2209 * @ingroup EPhysics_Constraint 2211 * @ingroup EPhysics_Constraint
2210 */ 2212 */