mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
fixed displayspin in binary
This commit is contained in:
parent
f1e16b0233
commit
bfedf93eb0
@ -249,8 +249,7 @@ ld displayspin(cell *c, int d) {
|
||||
else if(binarytiling) {
|
||||
if(d == NODIR) return 0;
|
||||
if(d == c->type-1) d++;
|
||||
int dirs[8] = {0, 11, 21, 31, 42, 53, 63, 73};
|
||||
return (-21-dirs[d]) * 42 / M_PI;
|
||||
return -(d+2)*M_PI/4;
|
||||
}
|
||||
else if(masterless)
|
||||
return - d * 2 * M_PI / c->type;
|
||||
|
Loading…
Reference in New Issue
Block a user