mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +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();
|
||||
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")) {
|
||||
PHASE(3); start_game();
|
||||
shift(); ld a = argf();
|
||||
|
Loading…
Reference in New Issue
Block a user