aboutsummaryrefslogtreecommitdiff
path: root/msd/src/msd.h
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2010-09-10 08:56:39 +0000
committerN.N. <nimon@users.sourceforge.net>2010-09-10 08:56:39 +0000
commitd65eec16b8c5d5e5f27771da4db3859187b86b84 (patch)
tree89beabb8797c0e98aa2e621c3b12b317f50f7978 /msd/src/msd.h
parent143dea7d2ac5c6e33ee05be8de363e8ca5cf2d58 (diff)
msd modification
svn path=/trunk/externals/nusmuk/; revision=14033
Diffstat (limited to 'msd/src/msd.h')
-rw-r--r--msd/src/msd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/msd/src/msd.h b/msd/src/msd.h
index 8b59034..b0b03c9 100644
--- a/msd/src/msd.h
+++ b/msd/src/msd.h
@@ -319,7 +319,7 @@ public:
if (d_tabname) {
d_temp = interp_buf(distance-distance_old,d_tab,l_tab);
}
- F = K1*k_temp + D1*d_temp/distance;
+ F = (K1*k_temp + D1*d_temp)/distance;
}
else {
if ((distance - longueur)>0)