mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 05:04:30 +00:00
arg:: rotation in 3D
This commit is contained in:
1 parent
c505bd55a8
commit
fed102a7e1
1 file changed
+6
@@ -147,6 +147,12 @@ int arg::readCommon() {
|
||||
shift(); ld b = argf();
|
||||
View = View * spin(M_PI * 2 * a / b);
|
||||
}
|
||||
else if(argis("-rotate3")) {
|
||||
PHASE(3); start_game();
|
||||
shift(); ld a = argf();
|
||||
shift(); ld b = argf();
|
||||
View = View * cspin(1, 2, M_PI * 2 * a / b);
|
||||
}
|
||||
else if(argis("-exit")) {
|
||||
PHASE(3); printf("Success.\n");
|
||||
exit(0);
|
||||
|
||||
Reference in new issue
Block a user