mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	reg3:: do not call generate_fulls more than needed
This commit is contained in:
		| @@ -585,6 +585,8 @@ void geometry_information::prepare_basics() { | ||||
|    | ||||
|   heptshape = nullptr; | ||||
|  | ||||
|   xp_order = 0; | ||||
|  | ||||
|   if(arcm::in() && !prod)  | ||||
|     ginf[gArchimedean].cclass = gcHyperbolic; | ||||
|    | ||||
|   | ||||
							
								
								
									
										1
									
								
								reg3.cpp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								reg3.cpp
									
									
									
									
									
								
							| @@ -2748,6 +2748,7 @@ EX int matrix_order(const transmatrix A) { | ||||
|  | ||||
| EX void generate_fulls() { | ||||
|   reg3::generate_cellrotations(); | ||||
|   if(cgi.xp_order) return; | ||||
|  | ||||
|   auto cons = [&] (int i0, int i1, int i2) { | ||||
|     transmatrix T = build_matrix(cgi.adjmoves[ 0]*C0, cgi.adjmoves[ 1]*C0, cgi.adjmoves[ 2]*C0, C0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue