1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-10 07:09:43 +00:00

solv:: graphical coordinates are now always standard -- local_perspective used in all models

This commit is contained in:
Zeno Rogue
2019-07-31 14:04:31 +02:00
parent 537f9455ee
commit 1e81ed606d
3 changed files with 12 additions and 18 deletions

View File

@@ -64,7 +64,7 @@ movedir vectodir(const hyperpoint& P) {
transmatrix U = ggmatrix(cwt.at);
if(GDIM == 3 && WDIM == 2) U = radar_transform * U;
if(pmodel == mdSolPerspective) U = solv::local_perspective * U;
if(solv::local_perspective_used()) U = solv::local_perspective * U;
hyperpoint H = sphereflip * tC0(U);
transmatrix Centered = sphereflip * rgpushxto0(H);