diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2019-11-25 22:49:31 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2019-11-25 22:49:31 -0800 |
commit | c2e8c60b733cc761ef9afb9c7f99f26e92abe156 (patch) | |
tree | df90e446f522885a982af96109ce2eb536efa1f2 /src | |
parent | b28789a685e861332d276ff997bd775248e16173 (diff) |
din: drop .f from integer additions in din()
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/din/din.c | 6 |
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; |