1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-17 11:38:05 +00:00

split namespace conformal into models and history

This commit is contained in:
Zeno Rogue
2019-08-10 00:58:50 +02:00
parent 6ed530c50c
commit 5ea055b39e
25 changed files with 999 additions and 1630 deletions

View File

@@ -393,7 +393,7 @@ EX void switch_always3() {
if(rug::rugged) rug::close();
if(dual::split(switch_fpp)) return;
check_cgi(); cgi.require_basics();
View = inverse(conformal::rotmatrix()) * View;
View = inverse(models::rotmatrix()) * View;
if(!vid.always3) {
vid.always3 = true;
ld ms = min<ld>(cgi.scalefactor, 1);
@@ -425,7 +425,7 @@ EX void switch_always3() {
swapmatrix(View);
callhooks(hooks_swapdim);
}
View = conformal::rotmatrix() * View;
View = models::rotmatrix() * View;
#endif
}