mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-07 22:49:54 +00:00
rogueviz:: sag:: fixed unini variable
This commit is contained in:
parent
fd1960191e
commit
1e3347590b
@ -734,7 +734,7 @@ namespace sag {
|
||||
|
||||
hyperpoint np = rgpushxto0(placement[i]) * h;
|
||||
|
||||
ld change;
|
||||
ld change = 0;
|
||||
for(auto e: edges_yes[i]) change -= lgemb.lyes(pdist(placement[i], placement[e]));
|
||||
for(auto e: edges_no[i]) change -= lgemb.lno(pdist(placement[i], placement[e]));
|
||||
for(auto e: edges_yes[i]) change += lgemb.lyes(pdist(np, placement[e]));
|
||||
|
Loading…
Reference in New Issue
Block a user