Merge pull request #10861 from ancientpower/far-sliding-port

Ports /vg/station drink sliding
This commit is contained in:
Ghom
2020-02-12 09:06:03 +01:00
committed by GitHub
8 changed files with 142 additions and 68 deletions
+3 -1
View File
@@ -199,4 +199,6 @@
#define LORENTZ_CUMULATIVE_DISTRIBUTION(x, y, s) ( (1/PI)*TORADIANS(arctan((x-y)/s)) + 1/2 )
#define RULE_OF_THREE(a, b, x) ((a*x)/b)
// )
// )
#define MANHATTAN_DISTANCE(a, b) (abs(a.x - b.x) + abs(a.y - b.y))