mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-27 13:48:15 +00:00
fixed SLR graphical duplication needlessly called outside of SLR
This commit is contained in:
parent
5312459d16
commit
5606007259
@ -1687,7 +1687,7 @@ EX void centerpc(ld aspd) {
|
|||||||
if(sl || vid.eye) T = T * zpush(cgi.SLEV[sl] - cgi.FLOOR + vid.eye);
|
if(sl || vid.eye) T = T * zpush(cgi.SLEV[sl] - cgi.FLOOR + vid.eye);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
hyperpoint H = iso_inverse(actual_view_transform) * tC0(T);
|
hyperpoint H = inverse(actual_view_transform) * tC0(T);
|
||||||
ld R = (zero_d(GDIM, H) && !prod) ? 0 : hdist0(H);
|
ld R = (zero_d(GDIM, H) && !prod) ? 0 : hdist0(H);
|
||||||
if(R < 1e-9) {
|
if(R < 1e-9) {
|
||||||
// either already centered or direction unknown
|
// either already centered or direction unknown
|
||||||
|
Loading…
Reference in New Issue
Block a user