From 8963c08039bdd0c00e4516fc55fbdd08b8c5358d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Mon, 17 Sep 2018 11:27:25 +0200 Subject: [PATCH] Change units for tiny --- raycastlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raycastlib.h b/raycastlib.h index 0cdc3e1..a106c03 100644 --- a/raycastlib.h +++ b/raycastlib.h @@ -35,7 +35,7 @@ serves the purpose of a fixed-point arithmetic. */ #define UNIT_INFINITY 5000000; #else - #define UNITS_PER_SQUARE 16 + #define UNITS_PER_SQUARE 32 typedef int16_t Unit; #define UNIT_INFINITY 32000; #define USE_DIST_APPROX 2