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