diff options
author | nathan <nathansmith@disroot.org> | 2025-07-06 11:13:16 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-07-06 11:13:16 +0000 |
commit | 601961a245a48112029341437912fe13b54dac0b (patch) | |
tree | a3cf0a664b02bbecb3c5e146c1b2eabcec191623 /src/world.c | |
parent | 942924f120d104cf0d6f080497c286d98bd14e11 (diff) | |
download | FindThings-601961a245a48112029341437912fe13b54dac0b.tar.gz FindThings-601961a245a48112029341437912fe13b54dac0b.tar.bz2 FindThings-601961a245a48112029341437912fe13b54dac0b.zip |
rreeee
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c index 0a6b544..db6e55d 100644 --- a/src/world.c +++ b/src/world.c @@ -43,7 +43,7 @@ float getWorldPixelHeight(World world, int x, int y) return (float)height / count; } -float getWorldHeightAtLocation(World world, int x, int y) +float getWorldHeightAtLocation(World world, float x, float y) { float toMapX = (float)world.image->width / world.size.x; float toMapY = (float)world.image->height / world.size.z; |