diff options
author | Bruno Dilly <bdilly@profusion.mobi> | 2012-11-28 12:55:53 +0000 |
---|---|---|
committer | Bruno Dilly <bdilly@profusion.mobi> | 2012-11-28 12:55:53 +0000 |
commit | 34fa1349ba244e1727ad846d2edbac346ef6ad97 (patch) | |
tree | 6bd8b7e79cde54c253e221d43a054247bca28f4a /legacy/ephysics/src/lib/EPhysics.h | |
parent | d9f2439c5d42c45d41bddbf5377965ec4d2ad3d4 (diff) |
ephysics: random doc fixes
SVN revision: 79781
Diffstat (limited to '')
-rw-r--r-- | legacy/ephysics/src/lib/EPhysics.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h index 9b238460a3..f0c0b07e94 100644 --- a/legacy/ephysics/src/lib/EPhysics.h +++ b/legacy/ephysics/src/lib/EPhysics.h | |||
@@ -2302,8 +2302,8 @@ typedef void (*EPhysics_Body_Event_Cb)(void *data, EPhysics_Body *body, void *ev | |||
2302 | * | 2302 | * |
2303 | * The hardness percentage will define how the soft body is supposed to deform, | 2303 | * The hardness percentage will define how the soft body is supposed to deform, |
2304 | * its default is set to 100%. The soft body mass will also interfere on soft | 2304 | * its default is set to 100%. The soft body mass will also interfere on soft |
2305 | * body deformation, so bare in mind that the bodies mass must also be changed to | 2305 | * body deformation, so bare in mind that the bodies mass must also be changed |
2306 | * have different deformation results. | 2306 | * to have different deformation results. |
2307 | * | 2307 | * |
2308 | * Valid values vary from 0 to 100. | 2308 | * Valid values vary from 0 to 100. |
2309 | * | 2309 | * |
@@ -2340,8 +2340,8 @@ EAPI double ephysics_body_soft_body_hardness_get(const EPhysics_Body *body); | |||
2340 | * ephysics_body_soft_body_dragging_unset(). | 2340 | * ephysics_body_soft_body_dragging_unset(). |
2341 | * | 2341 | * |
2342 | * @note Freezing a specific trimesh face means no forces are applied to it, no | 2342 | * @note Freezing a specific trimesh face means no forces are applied to it, no |
2343 | * gravity enforced, that's @p triangle will have no mass untill it dragging gets | 2343 | * gravity enforced, that's @p triangle will have no mass untill it dragging |
2344 | * unset. | 2344 | * gets unset. |
2345 | * | 2345 | * |
2346 | * @param body The body of interest. | 2346 | * @param body The body of interest. |
2347 | * @param triangle The triangle to freeze. | 2347 | * @param triangle The triangle to freeze. |
@@ -2721,7 +2721,7 @@ EAPI EPhysics_Body *ephysics_body_cloth_add(EPhysics_World *world, unsigned shor | |||
2721 | * @brief | 2721 | * @brief |
2722 | * Anchors a cloth with a rigid body. | 2722 | * Anchors a cloth with a rigid body. |
2723 | * | 2723 | * |
2724 | * All the informed @p side of @p body1 will be anchored to @p body1 wherever | 2724 | * All the informed @p side of @p body1 will be anchored to @p body2 wherever |
2725 | * it's in time of anchoring. That is, all the nodes in the informed "edge". | 2725 | * it's in time of anchoring. That is, all the nodes in the informed "edge". |
2726 | * | 2726 | * |
2727 | * An anchor assumes the @p body1 positions, if it's 20px far from @p body2 then | 2727 | * An anchor assumes the @p body1 positions, if it's 20px far from @p body2 then |
@@ -3774,7 +3774,7 @@ EAPI void ephysics_body_central_impulse_apply(EPhysics_Body *body, double x, dou | |||
3774 | * torque impulse and body's inertia. | 3774 | * torque impulse and body's inertia. |
3775 | * | 3775 | * |
3776 | * @param body The physics body that will receive the impulse. | 3776 | * @param body The physics body that will receive the impulse. |
3777 | * @param pitch Impulse to rotate body around Z axis (rotate on y - z plane). | 3777 | * @param pitch Impulse to rotate body around X axis (rotate on y - z plane). |
3778 | * Negative values will impulse body on counter clockwise rotation. | 3778 | * Negative values will impulse body on counter clockwise rotation. |
3779 | * @param yaw Impulse to rotate body around Y axis (rotate on x - z plane). | 3779 | * @param yaw Impulse to rotate body around Y axis (rotate on x - z plane). |
3780 | * Negative values will impulse body on counter clockwise rotation. | 3780 | * Negative values will impulse body on counter clockwise rotation. |
@@ -4020,7 +4020,6 @@ EAPI void ephysics_body_central_force_apply(EPhysics_Body *body, double x, doubl | |||
4020 | * | 4020 | * |
4021 | * A torque will be applied over the @p body to change the angular acceleration | 4021 | * A torque will be applied over the @p body to change the angular acceleration |
4022 | * of this body. It will leads to a change on angular velocity over time. | 4022 | * of this body. It will leads to a change on angular velocity over time. |
4023 | * And the body will rotate around Z axis considering this angular velocity. | ||
4024 | * | 4023 | * |
4025 | * @param body The physics body that will receive the torque. | 4024 | * @param body The physics body that will receive the torque. |
4026 | * @param torque_x Torque to change angular acceleration of the body around X | 4025 | * @param torque_x Torque to change angular acceleration of the body around X |