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

crystal:: 3D mode works from the Rug menu, and linked to from its menu

This commit is contained in:
Zeno Rogue
2018-12-02 20:26:58 +01:00
parent e6a97b6914
commit 92eaf96930
3 changed files with 14 additions and 0 deletions

View File

@@ -1396,6 +1396,13 @@ void init_model() {
qvalid = 0; dt = 0; queueiter = 0;
err_zero_current = err_zero;
if(geometry == gCrystal && surface::sh == surface::dsNone) {
surface::sh = surface::dsCrystal;
crystal::init_rotation();
good_shape = true;
return;
}
try {
buildRug();
while(good_shape && subdivide_further()) subdivide();