mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-22 14:00:13 +00:00
fixed rogueviz/cvl
This commit is contained in:
parent
947ec6afe9
commit
f7e545d8de
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user