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:
parent
300eceb005
commit
cd47594488
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue