summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@l3000.localdomain>2010-12-06 02:49:52 -0500
committerSøren Sandmann Pedersen <ssp@l3000.localdomain>2010-12-20 10:48:50 -0500
commit5a2813054563948d3196fd08c15c9854e9f8c0cd (patch)
tree7b70461048548e70508dd2f5c0928cc7138b28cd
parent17195b300a3b565c01ee1faf4f58e39bd2901540 (diff)
Get rid of dxdy in some places
-rw-r--r--dda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dda.c b/dda.c
index 2ef1209..0642a20 100644
--- a/dda.c
+++ b/dda.c
@@ -89,9 +89,9 @@ dda (test_data_t *testdata)
exit (-1);
}
- e -= sample_step_y (y) * dxdy * dy;
+ e -= sample_step_y (y) * dx;
- if (dxdy >= 0)
+ if (dx >= 0)
{
while (e <= 0)
{