mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-15 15:42:49 +00:00
CLI options -face-face and -face-vertex
This commit is contained in:
parent
9466539cd6
commit
af7e828b08
@ -236,6 +236,14 @@ int arg::readCommon() {
|
|||||||
shift(); ld b = argf();
|
shift(); ld b = argf();
|
||||||
View = View * cspin(1, 2, M_PI * 2 * a / b);
|
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")) {
|
else if(argis("-grotate")) {
|
||||||
PHASE(3); start_game();
|
PHASE(3); start_game();
|
||||||
shift(); int i = argi();
|
shift(); int i = argi();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user