removed the MAX_EDGE limit

This commit is contained in:
Zeno Rogue committed 2020-01-18 16:03:32 +01:00
1 parent a6da5ded75
commit 2271a67506
24 files changed
+238 -190

No files matched your search

+2 -2
View File
@@ -83,7 +83,7 @@ EX movedir vectodir(hyperpoint P) {
ld binv = 99;
ld dirdist[MAX_EDGE];
vector<ld> dirdist(cwt.at->type);
for(int i=0; i<cwt.at->type; i++) {
transmatrix T = currentmap->adj(cwt.at, (cwt + i).spin);
@@ -139,7 +139,7 @@ EX void calcMousedest() {
cellwalker bcwt = cwt;
ld dists[MAX_EDGE];
vector<ld> dists(cwt.at->type);
transmatrix U = ggmatrix(cwt.at);