From c2e8c60b733cc761ef9afb9c7f99f26e92abe156 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 25 Nov 2019 22:49:31 -0800 Subject: din: drop .f from integer additions in din() --- src/libs/din/din.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs/din') diff --git a/src/libs/din/din.c b/src/libs/din/din.c index 95c0398..caa7c72 100644 --- a/src/libs/din/din.c +++ b/src/libs/din/din.c @@ -111,9 +111,9 @@ float din(din_t *din, v3f_t *coordinate) y0 = floorf(coordinate->y); z0 = floorf(coordinate->z); - x1 = x0 + 1.f; - y1 = y0 + 1.f; - z1 = z0 + 1.f; + x1 = x0 + 1; + y1 = y0 + 1; + z1 = z0 + 1; tx = coordinate->x - (float)x0; ty = coordinate->y - (float)y0; -- cgit v1.2.3