1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-18 18:14:05 +00:00

3D floors now should work in SVG

This commit is contained in:
Zeno Rogue
2023-05-30 18:40:14 +02:00
parent 20546133c3
commit 3850d8dbeb
2 changed files with 20 additions and 9 deletions

View File

@@ -1140,6 +1140,9 @@ EX namespace geom3 {
#endif
if(dual::split(switch_fpp)) return;
check_cgi();
cgi.require_basics();
if(!changing_embedded_settings)
View = inverse(models::rotmatrix()) * View;
@@ -1149,7 +1152,7 @@ EX namespace geom3 {
auto emb = make_embed();
emb->auto_configure();
check_cgi();
cgi.prepare_basics();
cgi.require_basics();
swapdim(+1);
}
else {