summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58e99a2)
raw | patch | inline | side by side (parent: 58e99a2)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 11 Apr 2007 04:24:53 +0000 (04:24 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 11 Apr 2007 04:24:53 +0000 (04:24 +0000) |
src/dyna-draw-context.cpp | patch | blob | history |
index d1966d248ba6c3e6af642461b6904c201483ca24..56890b7677dc38e3b05254edf86d9ead21f53284 100644 (file)
// so _gradually_ let go attraction to prevent jerks
target = (dc->hatch_spacing * speed + hatch_dist * (SPEED_NORMAL - speed))/SPEED_NORMAL;
}
- if (!isnan(dot) && dot < -0.5) {// flip
+ if (!isNaN(dot) && dot < -0.5) {// flip
target = -target;
//g_print ("FLIP\n");
}