arg:: -grotate

This commit is contained in:
Zeno Rogue 2019-07-28 11:08:20 +02:00
parent ca76e7c217
commit 393f299074
1 changed files with 6 additions and 0 deletions

View File

@ -158,6 +158,12 @@ int arg::readCommon() {
shift(); ld b = argf();
View = View * cspin(1, 2, M_PI * 2 * a / b);
}
else if(argis("-grotate")) {
PHASE(3); start_game();
shift(); int i = argi();
shift(); int j = argi();
shift(); View = View * cspin(i, j, argf());
}
else if(argis("-exit")) {
PHASE(3); printf("Success.\n");
exit(0);