1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 11:57:40 +00:00

POLY_DEBUG flag

This commit is contained in:
Zeno Rogue
2019-07-13 14:38:51 +02:00
parent feaeee86f0
commit 3a065a4356
2 changed files with 4 additions and 0 deletions

View File

@@ -786,7 +786,10 @@ ld get_width(dqi_poly* p) {
return linewidthat(tC0(p->V)) * p->linewidth;
}
void debug_this() { }
void dqi_poly::draw() {
if(flags & POLY_DEBUG) debug_this();
dynamicval<ld> bs(hr::band_shift, band_shift);
if(!hyperbolic && among(pmodel, mdPolygonal, mdPolynomial)) {