embeddings:: fixed items size in euc_in_hyp

This commit is contained in:
Zeno Rogue 2023-02-11 00:36:37 +01:00
parent c5e05bd199
commit ec4ceb5347
1 changed files with 5 additions and 0 deletions

View File

@ -789,6 +789,11 @@ void geometry_information::prepare_basics() {
if(scale_used()) zhexf *= vid.creature_scale;
if(WDIM == 2 && GDIM == 3) zhexf *= 1.5, orbsize *= 1.2;
if(cgi.emb->is_euc_in_hyp()) {
zhexf *= exp(-vid.depth);
orbsize *= exp(-vid.depth);
}
floorrad0 = hexvdist* (GDIM == 3 ? 1 : 1 - 0.08 * global_boundary_ratio);
floorrad1 = rhexf * (GDIM == 3 ? 1 : 1 - 0.06 * global_boundary_ratio);