mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-10 15:59:53 +00:00
arg:: rotation in 3D
This commit is contained in:
parent
c505bd55a8
commit
fed102a7e1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user