mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed and simplified spin_angle
This commit is contained in:
		| @@ -313,8 +313,7 @@ EX bool no_easy_spin() { | ||||
|  | ||||
| ld hrmap_standard::spin_angle(cell *c, int d) { | ||||
|   ld hexshift = 0; | ||||
|   if(ctof(c) && S7==6 && S3 == 4 && BITRUNCATED) hexshift = cgi.hexshift + 2*M_PI/S7; | ||||
|   else if(ctof(c) && (S7==8 || S7 == 4) && S3 == 3 && BITRUNCATED) hexshift = cgi.hexshift + 2*M_PI/S7; | ||||
|   if(ctof(c) && (S7 % 2 == 0) && BITRUNCATED && !euclid) hexshift = cgi.hexshift + 2*M_PI/S7; | ||||
|   else if(cgi.hexshift && ctof(c)) hexshift = cgi.hexshift; | ||||
|   if(IRREGULAR) { | ||||
|     auto id = irr::cellindex[c]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue