1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 05:52:59 +00:00

new projections mostly for Solv: Lie perspective and Lie orthogonal

This commit is contained in:
Zeno Rogue
2022-05-17 09:40:33 +02:00
parent 69a82a8ce1
commit a6dc4b9314
7 changed files with 162 additions and 14 deletions

View File

@@ -30,11 +30,11 @@ EX int detaillevel = 0;
EX bool first_cell_to_draw = true;
EX bool in_perspective() {
return among(pconf.model, mdPerspective, mdGeodesic);
return models::is_perspective(pconf.model);
}
EX bool in_perspective_v() {
return among(vpconf.model, mdPerspective, mdGeodesic);
return models::is_perspective(vpconf.model);
}
EX bool hide_player() {