mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	CLI command -rotate-up
This commit is contained in:
		| @@ -256,6 +256,11 @@ int arg::readCommon() { | |||||||
|     shift(); ld b = argf(); |     shift(); ld b = argf(); | ||||||
|     View = View * spin(M_PI * 2 * a / b); |     View = View * spin(M_PI * 2 * a / b); | ||||||
|     } |     } | ||||||
|  |   else if(argis("-rotate-up")) { | ||||||
|  |     start_game(); | ||||||
|  |     shiftmatrix S = ggmatrix(cwt.at->master->move(0)->c7); | ||||||
|  |     View = spin(90*degree) * spintox(S.T*C0) * View; | ||||||
|  |     } | ||||||
|   else if(argis("-rotate3")) { |   else if(argis("-rotate3")) { | ||||||
|     PHASE(3);  start_game(); |     PHASE(3);  start_game(); | ||||||
|     shift(); ld a = argf(); |     shift(); ld a = argf(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue