summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-08-16 21:34:34 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-08-16 21:34:34 +0000
commitab877d4d234d49c1e927e52764e20c67af2af8b4 (patch)
tree750c45a977da21acac6dbfba7fe92b258c8979eb /legacy
parent7a759f05b6bf0f57df833e63fad9a7392cf6f7fc (diff)
EPhysics: small fixes on sleeping threshold docs
SVN revision: 75326
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ephysics/src/lib/EPhysics.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/legacy/ephysics/src/lib/EPhysics.h b/legacy/ephysics/src/lib/EPhysics.h
index d4fe26d1cb..7fca1f7f78 100644
--- a/legacy/ephysics/src/lib/EPhysics.h
+++ b/legacy/ephysics/src/lib/EPhysics.h
@@ -1672,15 +1672,14 @@ EAPI double ephysics_body_angular_velocity_get(const EPhysics_Body *body);
1672 * increment the sleeping time. 1672 * increment the sleeping time.
1673 * 1673 *
1674 * After every tick the sleeping time is incremented, if the body's linear and 1674 * After every tick the sleeping time is incremented, if the body's linear and
1675 * angular velocity is less than the respective thresholds the sleeping time is 1675 * angular speed is less than the respective thresholds the sleeping time is
1676 * incremented by the current time step(delta time). 1676 * incremented by the current time step (delta time).
1677 * 1677 *
1678 * After reaching the max sleeping time the body is marked to sleep, that means 1678 * After reaching the max sleeping time the body is marked to sleep, that means
1679 * the rigid body is to be deactivated. 1679 * the rigid body is to be deactivated.
1680 * 1680 *
1681 * @note The expected linear velocity to be informed as @p linear_threshold is 1681 * @note The expected value to be informed as @p linear_threshold is
1682 * the sum of X and Y linear velocity, that's the total velocity. The velocity 1682 * the body's speed. It is measured in Evas coordinates per second.
1683 * is measured in Evas coordinates per second.
1684 * 1683 *
1685 * @note The expected angular velocity to be informed as @p angular_threshold 1684 * @note The expected angular velocity to be informed as @p angular_threshold
1686 * is measured in degrees per second. 1685 * is measured in degrees per second.
@@ -1701,7 +1700,7 @@ EAPI void ephysics_body_sleeping_threshold_set(EPhysics_Body *body, double linea
1701 * Get the linear sleeping threshold. 1700 * Get the linear sleeping threshold.
1702 * 1701 *
1703 * @note The linear sleeping threshold is measured in Evas coordinates per 1702 * @note The linear sleeping threshold is measured in Evas coordinates per
1704 * second and the angular sleeping threshold is measured in degrees.. 1703 * second and the angular sleeping threshold is measured in degrees per second.
1705 * 1704 *
1706 * @param body The body to get the linear sleeping threshold from. 1705 * @param body The body to get the linear sleeping threshold from.
1707 * @param linear_threshold The linear sleeping threshold factor. 1706 * @param linear_threshold The linear sleeping threshold factor.