mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-04 12:58:10 +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);
|
cwt.spin = neighborId(cwt.at, infront);
|
||||||
View = iddspin(cwt.at, cwt.spin, M_PI/2);
|
View = iddspin(cwt.at, cwt.spin, M_PI/2);
|
||||||
if(!flipplayer) View = cspin(0, 2, M_PI) * View;
|
if(!flipplayer) View = cspin(0, 2, M_PI) * View;
|
||||||
|
|
||||||
|
if(pmodel == mdDisk) pmodel = mdPerspective;
|
||||||
}
|
}
|
||||||
|
|
||||||
void transform_euclid_to_crystal () {
|
void transform_euclid_to_crystal () {
|
||||||
@ -1503,6 +1505,7 @@ void transform_euclid_to_crystal () {
|
|||||||
View = Id;
|
View = Id;
|
||||||
clearAnimations();
|
clearAnimations();
|
||||||
cwt.spin = neighborId(cwt.at, infront);
|
cwt.spin = neighborId(cwt.at, infront);
|
||||||
|
if(pmodel == mdPerspective) pmodel = mdDisk;
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_crystal_transform(char c) {
|
void add_crystal_transform(char c) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user