mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
rug:: fixed gethyper when the rug is moved
This commit is contained in:
parent
634641bc94
commit
cc88c03f5a
6
rug.cpp
6
rug.cpp
@ -1357,9 +1357,9 @@ EX hyperpoint gethyper(ld x, ld y) {
|
||||
if(sp == 1 || sp == 2) continue;
|
||||
}
|
||||
|
||||
applymodel(r0->native, p0);
|
||||
applymodel(r1->native, p1);
|
||||
applymodel(r2->native, p2);
|
||||
applymodel(inverse(NLP) * rugView * r0->native, p0);
|
||||
applymodel(inverse(NLP) * rugView * r1->native, p1);
|
||||
applymodel(inverse(NLP) * rugView * r2->native, p2);
|
||||
}
|
||||
|
||||
if(error || spherepoints == 1 || spherepoints == 2) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user