From f7e545d8dec3fb4378236d48e730ae3099fc82d5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 30 Jul 2020 10:13:46 +0200 Subject: [PATCH] fixed rogueviz/cvl --- rogueviz/cvl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rogueviz/cvl.cpp b/rogueviz/cvl.cpp index d62b3e7e..ebc679d6 100644 --- a/rogueviz/cvl.cpp +++ b/rogueviz/cvl.cpp @@ -2,8 +2,11 @@ // this is a plugin which generates branched tilings for newconformist // https://github.com/zenorogue/newconformist (see the option '-cvl') +#include "../hyper.h" + namespace hr { #if CAP_SHOT + struct location { transmatrix lView; cell *lco; @@ -32,7 +35,7 @@ void cvl_marker() { int id = 0; for(auto& loc: l.second.locs) { if(gmatrix.count(loc.lco)) { - transmatrix T = gmatrix[loc.lco] * inverse(loc.lView); + shiftmatrix T = gmatrix[loc.lco] * inverse(loc.lView); queuepoly(T, cgi.shAsymmetric, 0xFF00FFFF); queuestr(T, 1.0, its(l.first)+"/"+its(id), 0xFFFFFF); }