1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-31 14:02:59 +00:00

grid improvements: changeable color, straight lines drawn correctly, angles shown relative to coldcenter

This commit is contained in:
Zeno Rogue
2017-12-22 21:23:17 +01:00
parent 4bee0c85a7
commit 6234be507b
2 changed files with 44 additions and 19 deletions

View File

@@ -459,3 +459,6 @@ transmatrix mzscale(const transmatrix& t, double fac) {
transmatrix pushone() { return euclid ? eupush(1, 0) : xpush(sphere?.5 : 1); }
bool operator == (hyperpoint h1, hyperpoint h2) {
return h1[0] == h2[0] && h1[1] == h2[1] && h1[2] == h2[2];
}