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:
7
rug.cpp
7
rug.cpp
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user