summaryrefslogtreecommitdiff
path: root/legacy/ephysics/src/lib/EPhysics.h
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-11-13 22:17:54 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-11-13 22:17:54 +0000
commit3803a8d5021fba9343f8aab8199d0fb52cf3d3a5 (patch)
tree19015c473b60b9c7a87a5ba6c608d0ce4eadf28d /legacy/ephysics/src/lib/EPhysics.h
parent6e883bdbbdf8dfa4e863c58f2457986c71e0b7da (diff)
ephysics: fix docs regarding torque axis.
SVN revision: 79249
Diffstat (limited to '')
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index 679780d339..a4409a34d1 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -3286,7 +3286,7 @@ EAPI void ephysics_body_central_impulse_apply(EPhysics_Body *body, double x, dou
3286 * @brief 3286 * @brief
3287 * Apply a torque impulse over a body. 3287 * Apply a torque impulse over a body.
3288 * 3288 *
3289 * An impulse will be applied over the body to make it rotate around Z axis. 3289 * An impulse will be applied over the body to make it rotate.
3290 * Impulse is the product of the force over the time this force is applied. 3290 * Impulse is the product of the force over the time this force is applied.
3291 * In ephysics case, it would be the time of a tick, so it behaves just 3291 * In ephysics case, it would be the time of a tick, so it behaves just
3292 * summing current angular velocity to the result of a calculation involving 3292 * summing current angular velocity to the result of a calculation involving
@@ -3311,8 +3311,7 @@ EAPI void ephysics_body_torque_impulse_apply(EPhysics_Body *body, double pitch,
3311 * @brief 3311 * @brief
3312 * Apply an impulse over a body. 3312 * Apply an impulse over a body.
3313 * 3313 *
3314 * An impulse will be applied over the body to make it move and rotate around 3314 * An impulse will be applied over the body to make it move and rotate.
3315 * Z axis.
3316 * 3315 *
3317 * Impulse is the product of the force over the time this force is applied. 3316 * Impulse is the product of the force over the time this force is applied.
3318 * It can be applied in the center of the body, avoiding rotating it, 3317 * It can be applied in the center of the body, avoiding rotating it,
@@ -3321,7 +3320,7 @@ EAPI void ephysics_body_torque_impulse_apply(EPhysics_Body *body, double pitch,
3321 * or can be used to lead to both behaviors with 3320 * or can be used to lead to both behaviors with
3322 * @ref ephysics_body_impulse_apply(). 3321 * @ref ephysics_body_impulse_apply().
3323 * 3322 *
3324 * It will result in a central impulse with impulse (@p x, @p y) and a 3323 * It will result in a central impulse with impulse (@p x, @p y, @p z) and a
3325 * torque impulse that will be calculated as a cross product on impulse 3324 * torque impulse that will be calculated as a cross product on impulse
3326 * and relative position. 3325 * and relative position.
3327 * 3326 *