From 601961a245a48112029341437912fe13b54dac0b Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 6 Jul 2025 05:13:16 -0600 Subject: rreeee --- src/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.c') 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; -- cgit v1.2.3