mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-04 13:16:16 +00:00
fixed the E2xE raycaster
This commit is contained in:
parent
639122e314
commit
6e94d7346e
@ -1612,6 +1612,8 @@ struct raycast_map {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
transmatrix T = currentmap->iadj(c, i) * inverse(ms[wo + i]);
|
transmatrix T = currentmap->iadj(c, i) * inverse(ms[wo + i]);
|
||||||
|
if(in_e2xe() && i >= c->type-2)
|
||||||
|
T = Id;
|
||||||
for(int k=0; k<=isize(ms); k++) {
|
for(int k=0; k<=isize(ms); k++) {
|
||||||
if(k < isize(ms) && !eqmatrix(ms[k], T)) continue;
|
if(k < isize(ms) && !eqmatrix(ms[k], T)) continue;
|
||||||
if(k == isize(ms)) ms.push_back(T);
|
if(k == isize(ms)) ms.push_back(T);
|
||||||
|
Loading…
Reference in New Issue
Block a user