From af7e828b087ba7d2a402cae6e9ddf8685a798b57 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 28 May 2020 01:38:21 +0200 Subject: [PATCH] CLI options -face-face and -face-vertex --- commandline.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/commandline.cpp b/commandline.cpp index f2d2bae3..b53f9267 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -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();