1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-12 15:26:00 +00:00

rogueviz:: adjusted to rug naming changes

This commit is contained in:
Zeno Rogue
2020-04-16 21:01:03 +02:00
parent 63d244ce9f
commit 2a69afddb7
3 changed files with 7 additions and 11 deletions

View File

@@ -87,13 +87,9 @@ bool sunflower_cell(cell *c, transmatrix V) {
if(adjust_rug) {
using namespace rug;
if(rug_perspective)
push_all_points(2, +model_distance);
model_distance = sqrt(zdensity) * distance_per_rug;
if(rug_perspective)
push_all_points(2, -model_distance);
}
iqty = qty;