synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too

This commit is contained in:
Zeno Rogue committed 2018-08-19 00:27:20 +02:00
1 parent b186b9d1bb
commit 7bae01c168
7 files changed
+128 -391

No files matched your search

+11
View File
@@ -133,4 +133,15 @@ bool appears(const string& haystack, const string& needle) {
return haystack.find(needle) != string::npos;
}
/* indenter */
int current_indentation;
struct indenter {
indenter() { current_indentation += 2; }
~indenter() { current_indentation -= 2; }
};
void doindent() { for(int i=0; i<current_indentation; i++) printf(" "); }
}