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:
parent
59efce3a69
commit
53c7e2869f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user