From cd47594488c56cee71f260abdb90a7499291b0ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Tue, 25 Sep 2018 08:13:01 +0200 Subject: [PATCH] Fix constants --- raycastlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raycastlib.h b/raycastlib.h index 022cef0..c0efc19 100644 --- a/raycastlib.h +++ b/raycastlib.h @@ -40,11 +40,11 @@ RCL_UNITS_PER_SQUARE units in a square's length. This effectively serves the purpose of a fixed-point arithmetic. */ - #define RCL_INFINITY 5000000 + #define RCL_INFINITY 2000000000 #else #define RCL_UNITS_PER_SQUARE 32 typedef int16_t RCL_Unit; - #define RCL_INFINITY 2000000000 + #define RCL_INFINITY 30000 #define RCL_USE_DIST_APPROX 2 #endif