mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-29 21:13:00 +00:00
CLI options -face-face and -face-vertex
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user