From 91a83035da42a2a4b29f9c3f61d6dcaf2bb6f70d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 17 Jun 2019 12:36:35 +0200 Subject: [PATCH] 3D:: flatten Z in the correct direction in full 3D --- hypgraph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 00d2e9ea..1a364893 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1337,6 +1337,7 @@ transmatrix atscreenpos(ld x, ld y, ld size) { V[1][3] += (y - current_display->ycenter); V[0][0] = size * 2 * cgi.hcrossf / cgi.crossf; V[1][1] = size * 2 * cgi.hcrossf / cgi.crossf; + if(WDIM == 3) V[2][2] = -1; } else { V[0][2] += (x - current_display->xcenter);