1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

3d:: crystal:: transform: change the model

This commit is contained in:
Zeno Rogue 2019-04-12 00:11:12 +02:00
parent 59efce3a69
commit 53c7e2869f

View File

@ -1439,6 +1439,8 @@ void transform_crystal_to_euclid () {
cwt.spin = neighborId(cwt.at, infront);
View = iddspin(cwt.at, cwt.spin, M_PI/2);
if(!flipplayer) View = cspin(0, 2, M_PI) * View;
if(pmodel == mdDisk) pmodel = mdPerspective;
}
void transform_euclid_to_crystal () {
@ -1503,6 +1505,7 @@ void transform_euclid_to_crystal () {
View = Id;
clearAnimations();
cwt.spin = neighborId(cwt.at, infront);
if(pmodel == mdPerspective) pmodel = mdDisk;
}
void add_crystal_transform(char c) {