CLI options -face-face and -face-vertex

This commit is contained in:
Zeno Rogue 2020-05-28 01:38:21 +02:00
parent 9466539cd6
commit af7e828b08
1 changed files with 8 additions and 0 deletions

View File

@ -236,6 +236,14 @@ int arg::readCommon() {
shift(); ld b = argf();
View = View * cspin(1, 2, M_PI * 2 * a / b);
}
else if(argis("-face-vertex")) {
PHASE(3); start_game();
View = cspin(0, 2, M_PI/2) * spintox(cgi.vertices_only[0]);
}
else if(argis("-face-face")) {
PHASE(3); start_game();
View = cspin(0, 2, M_PI/2);
}
else if(argis("-grotate")) {
PHASE(3); start_game();
shift(); int i = argi();