EPhysics: small fixes related to slider constraint

SVN revision: 74700
This commit is contained in:
Bruno Dilly 2012-07-31 22:24:51 +00:00
parent 701ed6b8fd
commit bb43446421
2 changed files with 7 additions and 3 deletions

View File

@ -163,5 +163,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
ephysics_body_restitution_set(boundary, 0.65);
ephysics_body_friction_set(boundary, 3);
ephysics_body_left_boundary_add(test_data->world);
_world_populate(test_data);
}

View File

@ -2082,12 +2082,13 @@ EAPI void *ephysics_body_data_get(const EPhysics_Body *body);
* between bodies and the world. Constraints can limit movement angle,
* translation, or work like a motor.
*
* Constraints can be created with @ref ephysics_constraint_add() and removed
* Constraints can be created with @ref ephysics_constraint_p2p_add()
* or @ref ephysics_constraint_slider_add() and removed
* with @ref ephysics_constraint_del().
* Can be applied between two bodies or between a body and the world.
*/
typedef 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(). */
typedef 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(). */
/**
* @brief
@ -2204,7 +2205,8 @@ EAPI void ephysics_constraint_slider_angular_limit_get(const EPhysics_Constraint
*
* @param constraint The constraint to be deleted.
*
* @see ephysics_constraint_add() for more details.
* @see ephysics_constraint_p2p_add() for more details.
* @see ephysics_constraint_slider_add() for more details.
*
* @ingroup EPhysics_Constraint
*/