CLI command -rotate-up

This commit is contained in:
Zeno Rogue 2022-06-16 23:13:38 +02:00
parent ba99e537a3
commit 5e2ba55e46
1 changed files with 5 additions and 0 deletions

View File

@ -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();