mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	arg:: rotation in 3D
This commit is contained in:
		| @@ -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
	 Zeno Rogue
					Zeno Rogue