1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-29 14:00:18 +00:00

fully turnable product spaces

This commit is contained in:
Zeno Rogue
2019-08-18 01:31:37 +02:00
parent 52f19a26a8
commit 00f4f4fca5
10 changed files with 63 additions and 35 deletions

View File

@@ -1358,10 +1358,10 @@ EX void centerpc(ld aspd) {
}
if(R < aspd) {
View = solmul(gpushxto0(H), View);
View = solmul(gpushxto0(H), Id, View);
}
else
View = solmul(rspintox(H) * xpush(-aspd) * spintox(H), View);
View = solmul(rspintox(H) * xpush(-aspd) * spintox(H), Id, View);
fixmatrix(View);
spinEdge(aspd);
@@ -1472,6 +1472,7 @@ EX void resetview() {
viewctr.spin = cwt.spin;
else centerover = cwt;
cwtV = View;
nisot::local_perspective = Id;
// SDL_LockSurface(s);
// SDL_UnlockSurface(s);
}