1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

rogueviz:: adjusted

This commit is contained in:
Zeno Rogue 2019-11-23 23:52:04 +01:00
parent cba7782e64
commit b53854fdcf
2 changed files with 3 additions and 3 deletions

View File

@ -324,7 +324,7 @@ void bantar_frame() {
View = Id;
transmatrix tView = actualV(cth(xcw), Id) * calc_relative_matrix(cwt.at, xcw.at, NOHINT) * inverse(actualV(cth(cwt), Id));
transmatrix tView = actualV(cth(xcw), Id) * calc_relative_matrix(cwt.at, xcw.at, C0) * inverse(actualV(cth(cwt), Id));
if(tphase < 2) part = 0;
else if(tphase == 2)

View File

@ -31,7 +31,7 @@ hyperpoint corner(cellwalker cw) {
if(funmode == 2) {
while(cw.at->type != S7) {
cw++;
T = T * calc_relative_matrix(cw.peek(), cw.at, cw.spin);
T = T * currentmap->adj(cw.at, cw.spin);
cw += wstep;
}
return T * C0;
@ -40,7 +40,7 @@ hyperpoint corner(cellwalker cw) {
}
transmatrix rel(cellwalker cw) {
return calc_relative_matrix(cw.cpeek(), cw.at, cw.spin);
return currentmap->adj(cw.at, cw.spin);
}
ld label_dist = .3;