summaryrefslogtreecommitdiff
path: root/src/libs
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-11-25 22:49:31 -0800
committerVito Caputo <vcaputo@pengaru.com>2019-11-25 22:49:31 -0800
commitc2e8c60b733cc761ef9afb9c7f99f26e92abe156 (patch)
treedf90e446f522885a982af96109ce2eb536efa1f2 /src/libs
parentb28789a685e861332d276ff997bd775248e16173 (diff)
din: drop .f from integer additions in din()
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/din/din.c6
1 files changed, 3 insertions, 3 deletions
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;
© All Rights Reserved