mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 16:57:56 +00:00
added kz to some debug printouts
This commit is contained in:
@@ -678,7 +678,7 @@ struct hrmap_archimedean : hrmap {
|
||||
alt = (heptagon*) s;
|
||||
}
|
||||
|
||||
DEBB(DF_GEOM, ("look for: ", alt, " / ", T * C0));
|
||||
DEBB(DF_GEOM, ("look for: ", alt, " / ", kz(T * C0)));
|
||||
|
||||
for(auto& p2: altmap[alt]) if(same_point_may_warn(p2.second * C0, T * C0)) {
|
||||
DEBB(DF_GEOM, ("cell found: ", p2.first));
|
||||
@@ -686,7 +686,7 @@ struct hrmap_archimedean : hrmap {
|
||||
heptspin hs(p2.first, d2);
|
||||
auto& t2 = current.get_triangle(p2.first, d2);
|
||||
transmatrix T1 = T * spin(M_PI + t2.first);
|
||||
DEBB(DF_GEOM, ("compare: ", T1 * xpush0(1), ":: ", p2.second * xpush0(1)));
|
||||
DEBB(DF_GEOM, ("compare: ", kz(T1 * xpush0(1)), ":: ", kz(p2.second * xpush0(1))));
|
||||
if(same_point_may_warn(T1 * xpush0(1), p2.second * xpush0(1))) {
|
||||
|
||||
// T1 = p2.second
|
||||
|
Reference in New Issue
Block a user