From fcd9fbbcd2ff0c219066c6819ab51f65f4915381 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 22 Apr 2019 23:00:31 +0200 Subject: [PATCH] rogueviz:: fixed label positioning in 3D --- rogueviz.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz.cpp b/rogueviz.cpp index 54c44295..e741bd58 100644 --- a/rogueviz.cpp +++ b/rogueviz.cpp @@ -1329,7 +1329,7 @@ bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) { } hyperpoint h = tC0(V * m->at); - transmatrix V2 = DIM == 3 ? V : rgpushxto0(h) * ypush(PURE ? .3 : .2); // todo-variation + transmatrix V2 = DIM == 3 ? V * m->at : rgpushxto0(h) * ypush(PURE ? .3 : .2); // todo-variation if(doshow && !behindsphere(V2)) { auto info = vd.info; if(info) queueaction(PPR::MONSTER_HEAD, [info] () { svg::link = *info; });