mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-19 04:18:06 +00:00
tes:: check_football_colorabilty is disabled if valence not known
This commit is contained in:
@@ -656,7 +656,7 @@ EX void compute_vertex_valence(arb::arbi_tiling& ac) {
|
|||||||
EX bool extended_football = true;
|
EX bool extended_football = true;
|
||||||
|
|
||||||
EX void check_football_colorability(arbi_tiling& c) {
|
EX void check_football_colorability(arbi_tiling& c) {
|
||||||
if(cgflags & qAFFINE) return;
|
if(!c.have_valence) return;
|
||||||
for(auto&sh: c.shapes) for(auto v: sh.vertex_valence)
|
for(auto&sh: c.shapes) for(auto v: sh.vertex_valence)
|
||||||
if(v % 3) return;
|
if(v % 3) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user