From 12efa1d9e0ff3a32b018ee83d6ebee08c77972a9 Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 19 Oct 2024 11:42:51 +0000 Subject: remove quaternion sandwich utils (now part of libgeometry.) --- render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render.c') diff --git a/render.c b/render.c index 5d0954b..3f96f42 100644 --- a/render.c +++ b/render.c @@ -179,7 +179,7 @@ rasterize(Rastertask *task) double dplen, perc; float z, pcz; uint ropts; - int steep = 0, Δe, e, Δy; + int steep, Δe, e, Δy; params = task->params; prim = &task->p; @@ -233,6 +233,7 @@ rasterize(Rastertask *task) if(rectclipline(task->wr, &p0, &p1, &prim->v[0], &prim->v[1]) < 0) break; + steep = 0; /* transpose the points */ if(abs(p0.x-p1.x) < abs(p0.y-p1.y)){ steep = 1; -- cgit v1.2.3