mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	removed cgi.hepvdist, it was not even computed
This commit is contained in:
		| @@ -168,8 +168,7 @@ struct geometry_information { | |||||||
|   /** distance between hexagon vertex and hexagon center */ |   /** distance between hexagon vertex and hexagon center */ | ||||||
|   ld hexvdist; |   ld hexvdist; | ||||||
|    |    | ||||||
|   /** distance between heptagon vertex and hexagon center (either hcrossf or something else) */ |   ld unused_value_1; /* removed */ | ||||||
|   ld hepvdist; |  | ||||||
|  |  | ||||||
|   /** distance from heptagon center to heptagon vertex (either hexf or hcrossf) */ |   /** distance from heptagon center to heptagon vertex (either hexf or hcrossf) */ | ||||||
|   ld rhexf; |   ld rhexf; | ||||||
|   | |||||||
| @@ -734,7 +734,6 @@ EX namespace gp { | |||||||
|       ld scale = 1 / hypot_d(2, next); |       ld scale = 1 / hypot_d(2, next); | ||||||
|       if(!GOLDBERG) scale = 1; |       if(!GOLDBERG) scale = 1; | ||||||
|       cgi.crossf *= scale; |       cgi.crossf *= scale; | ||||||
|       cgi.hepvdist *= scale; |  | ||||||
|       cgi.hexhexdist *= scale; |       cgi.hexhexdist *= scale; | ||||||
|       cgi.hexvdist *= scale; |       cgi.hexvdist *= scale; | ||||||
|       cgi.rhexf *= scale; |       cgi.rhexf *= scale; | ||||||
|   | |||||||
| @@ -480,7 +480,6 @@ EX void compute_geometry() { | |||||||
|   if(IRREGULAR) { |   if(IRREGULAR) { | ||||||
|     ld scale = sqrt(isize(cells_of_heptagon) * 1. / isize(cells)); |     ld scale = sqrt(isize(cells_of_heptagon) * 1. / isize(cells)); | ||||||
|     cgi.crossf *= scale; |     cgi.crossf *= scale; | ||||||
|     cgi.hepvdist *= scale; |  | ||||||
|     cgi.rhexf *= scale; |     cgi.rhexf *= scale; | ||||||
|     cgi.hexhexdist *= scale; |     cgi.hexhexdist *= scale; | ||||||
|     cgi.hexvdist *= scale; |     cgi.hexvdist *= scale; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue