1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

rug:: fixed gethyper when the rug is moved

This commit is contained in:
Zeno Rogue 2020-04-19 15:44:53 +02:00
parent 634641bc94
commit cc88c03f5a

View File

@ -1357,9 +1357,9 @@ EX hyperpoint gethyper(ld x, ld y) {
if(sp == 1 || sp == 2) continue; if(sp == 1 || sp == 2) continue;
} }
applymodel(r0->native, p0); applymodel(inverse(NLP) * rugView * r0->native, p0);
applymodel(r1->native, p1); applymodel(inverse(NLP) * rugView * r1->native, p1);
applymodel(r2->native, p2); applymodel(inverse(NLP) * rugView * r2->native, p2);
} }
if(error || spherepoints == 1 || spherepoints == 2) continue; if(error || spherepoints == 1 || spherepoints == 2) continue;