mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-27 21:23:19 +00:00
fixed the raycaster in elliptic S3
This commit is contained in:
parent
8c2dfad20f
commit
0b5a32d1c1
3
reg3.cpp
3
reg3.cpp
@ -934,6 +934,8 @@ EX namespace reg3 {
|
|||||||
c->c.connect(i, c1, j, false);
|
c->c.connect(i, c1, j, false);
|
||||||
if(!found) {
|
if(!found) {
|
||||||
tmcell.push_back(ss[id].from_cellcenter * T2 * ss[id1].to_cellcenter);
|
tmcell.push_back(ss[id].from_cellcenter * T2 * ss[id1].to_cellcenter);
|
||||||
|
if(elliptic) fixelliptic(tmcell.back());
|
||||||
|
|
||||||
auto& ms = move_sequences[local_id[c].first];
|
auto& ms = move_sequences[local_id[c].first];
|
||||||
ms.push_back(path);
|
ms.push_back(path);
|
||||||
for(auto dir: va.move_sequence) ms.back().push_back(dir);
|
for(auto dir: va.move_sequence) ms.back().push_back(dir);
|
||||||
@ -1649,6 +1651,7 @@ EX namespace reg3 {
|
|||||||
|
|
||||||
allh[i]->c.connect(d, h, d2, false);
|
allh[i]->c.connect(d, h, d2, false);
|
||||||
tmi.push_back(inverse(T1) * T);
|
tmi.push_back(inverse(T1) * T);
|
||||||
|
if(elliptic) fixelliptic(tmi.back());
|
||||||
}
|
}
|
||||||
next_d: ;
|
next_d: ;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user