1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-23 20:49:57 +01:00

Fix constants

This commit is contained in:
Miloslav Číž 2018-09-25 08:13:01 +02:00
parent 300eceb005
commit cd47594488

View file

@ -40,11 +40,11 @@
RCL_UNITS_PER_SQUARE units in a square's RCL_UNITS_PER_SQUARE units in a square's
length. This effectively serves the purpose of length. This effectively serves the purpose of
a fixed-point arithmetic. */ a fixed-point arithmetic. */
#define RCL_INFINITY 5000000 #define RCL_INFINITY 2000000000
#else #else
#define RCL_UNITS_PER_SQUARE 32 #define RCL_UNITS_PER_SQUARE 32
typedef int16_t RCL_Unit; typedef int16_t RCL_Unit;
#define RCL_INFINITY 2000000000 #define RCL_INFINITY 30000
#define RCL_USE_DIST_APPROX 2 #define RCL_USE_DIST_APPROX 2
#endif #endif