mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
fixed reflection facing in Hall of Mirrors
This commit is contained in:
parent
ca3232c3bb
commit
3daa6cd34c
@ -2447,6 +2447,8 @@ void celldrawer::draw() {
|
|||||||
if(cw2.mirrored != cw.mirrored) V = V * Mirror;
|
if(cw2.mirrored != cw.mirrored) V = V * Mirror;
|
||||||
if(cw2.spin) V = V * spin(2*M_PI*cw2.spin/cw2.at->type);
|
if(cw2.spin) V = V * spin(2*M_PI*cw2.spin/cw2.at->type);
|
||||||
cw2.spin = 0;
|
cw2.spin = 0;
|
||||||
|
dynamicval<transmatrix> dc(cwtV, cwtV);
|
||||||
|
cwtV = V * inverse(gmatrix0[c]) * cwtV;
|
||||||
drawcell(cw2.at, V);
|
drawcell(cw2.at, V);
|
||||||
inmirrorcount -= cmc;
|
inmirrorcount -= cmc;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user