Make diagonal movement faster (1.41x as long as cardinal, rather than 2x) (#17884)

* Make diagonal movement take 1.41 as long, rather than 2x

* define
This commit is contained in:
moxian
2022-05-30 19:19:03 +01:00
committed by GitHub
parent 6c57e06e2a
commit 1c216c4e10
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#define NUM_E 2.71828183
#define PI 3.1415
#define SQRT_2 1.41421356237
#define INFINITY 1e31 //closer than enough
#define SHORT_REAL_LIMIT 16777216