summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@l3000.localdomain>2010-12-06 03:02:08 -0500
committerSøren Sandmann Pedersen <ssp@l3000.localdomain>2010-12-20 10:48:50 -0500
commit0b6ece8b8b14d678ab2563c6bd79ac02527d0c32 (patch)
treeaa8ed0ed6b86d90ddb2a0bc397e682659282b252
parentd522edfd970183bcaf2cdce8e1748436f0808aec (diff)
Delete dxdy variable
-rw-r--r--dda.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dda.c b/dda.c
index f045cd4..5c8a3a1 100644
--- a/dda.c
+++ b/dda.c
@@ -70,7 +70,6 @@ dda (test_data_t *testdata)
double dx = (x1 - x0);
double dy = (y1 - y0);
- double dxdy = dx / dy;
double yi = next_sample_y (y0);
double xi = next_sample_x (x0);
double e = (xi - x0) * dy - (yi - y0) * dx;