1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-21 20:29:59 +01:00

Change units for tiny

This commit is contained in:
Miloslav Číž 2018-09-17 11:27:25 +02:00
parent f994666817
commit 8963c08039

View file

@ -35,7 +35,7 @@
serves the purpose of a fixed-point arithmetic. */ serves the purpose of a fixed-point arithmetic. */
#define UNIT_INFINITY 5000000; #define UNIT_INFINITY 5000000;
#else #else
#define UNITS_PER_SQUARE 16 #define UNITS_PER_SQUARE 32
typedef int16_t Unit; typedef int16_t Unit;
#define UNIT_INFINITY 32000; #define UNIT_INFINITY 32000;
#define USE_DIST_APPROX 2 #define USE_DIST_APPROX 2