mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed the floor patterns in non-bitrunc square grid
This commit is contained in:
		| @@ -154,7 +154,7 @@ void generate_matrices_scale(ld scale, int noft) { | ||||
|     } | ||||
|   else { | ||||
|     generate_matrices(hex_matrices, ohex, msh(geometry, S6, hexvdist, hexhexdist, hcrossf, (S3-3)*M_PI/S3, scale)); | ||||
|     generate_matrices(hept_matrices, ohept, msh(geometry, S7, rhexf, hcrossf, hcrossf, euclid6?0:M_PI/S7, scale)); | ||||
|     generate_matrices(hept_matrices, ohept, msh(geometry, S7, rhexf, hcrossf, hcrossf, euclid6?0:euclid4?0:M_PI/S7, scale)); | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   | ||||
| @@ -63,6 +63,7 @@ void precalc() { | ||||
|       hexvdist = hexf; | ||||
|       hepvdist = hexf; | ||||
|       rhexf = crossf * sqrt(2) / 2; | ||||
|       tessf = crossf; | ||||
|       } | ||||
|     else if(a4) { | ||||
|       ld s2 = sqrt(2); | ||||
| @@ -75,6 +76,7 @@ void precalc() { | ||||
|       hexvdist = crossf * hypot(1-xx, xx); | ||||
|       hepvdist = crossf; | ||||
|       rhexf = hexf; | ||||
|       tessf = crossf; | ||||
|       } | ||||
|     else { | ||||
|       crossf = .5; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue