mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	embeddings:: fixed animation facing in more cylinders
This commit is contained in:
		| @@ -1022,6 +1022,7 @@ EX transmatrix xspinpush(ld dir, ld dist) { | ||||
|  | ||||
| EX const transmatrix& lmirror() { | ||||
|   if(cgi.emb->is_euc_in_product()) return Id; | ||||
|   if(cgi.emb->is_cylinder() && nil) return Id; | ||||
|   if(cgi.emb->logical_to_intermediate[2][1]) return MirrorZ; | ||||
|   if(cgi.emb->is_hyp_in_solnih()) return MirrorY; | ||||
|   return Mirror; | ||||
|   | ||||
							
								
								
									
										10
									
								
								graph.cpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								graph.cpp
									
									
									
									
									
								
							| @@ -2656,7 +2656,15 @@ EX bool applyAnimation(cell *c, shiftmatrix& V, double& footphase, int layer) { | ||||
|       } | ||||
|     footphase = a.footphase; | ||||
|     V = V * a.wherenow * lrspintox(wnow); | ||||
|     if(cgi.emb->is_cylinder()) V = V * cspin90(1, 0); | ||||
|     if(cgi.emb->is_cylinder() && !gproduct) { | ||||
|       if(nil) { | ||||
|         V = V * lzpush(1); | ||||
|         V = V * spin270(); | ||||
|         V = V * lzpush(-1); | ||||
|         } | ||||
|       else | ||||
|         V = V * cspin90(1, 0); | ||||
|       } | ||||
|     if(a.mirrored) V = V * lmirror(); | ||||
|     if(a.attacking == 2) V = V * lpispin(); | ||||
|     a.ltick = ticks; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue