mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
CLI command -rotate-up
This commit is contained in:
parent
ba99e537a3
commit
5e2ba55e46
@ -256,6 +256,11 @@ int arg::readCommon() {
|
|||||||
shift(); ld b = argf();
|
shift(); ld b = argf();
|
||||||
View = View * spin(M_PI * 2 * a / b);
|
View = View * spin(M_PI * 2 * a / b);
|
||||||
}
|
}
|
||||||
|
else if(argis("-rotate-up")) {
|
||||||
|
start_game();
|
||||||
|
shiftmatrix S = ggmatrix(cwt.at->master->move(0)->c7);
|
||||||
|
View = spin(90*degree) * spintox(S.T*C0) * View;
|
||||||
|
}
|
||||||
else if(argis("-rotate3")) {
|
else if(argis("-rotate3")) {
|
||||||
PHASE(3); start_game();
|
PHASE(3); start_game();
|
||||||
shift(); ld a = argf();
|
shift(); ld a = argf();
|
||||||
|
Loading…
Reference in New Issue
Block a user