From 5a2813054563948d3196fd08c15c9854e9f8c0cd Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Mon, 6 Dec 2010 02:49:52 -0500 Subject: Get rid of dxdy in some places --- dda.c | 4 ++-- 1 file 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) { -- cgit v1.2.3