From dc1efea3e6f4bb3cd23625489f3f4bd3dd708c5e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 14 Aug 2018 08:57:59 +0200 Subject: [PATCH] fixed gethyper (vid.stretch parameter applied) --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 4d55ea39..6504d614 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -23,7 +23,7 @@ void camrotate(ld& hx, ld& hy) { hyperpoint gethyper(ld x, ld y) { ld hx = (x - vid.xcenter) / vid.radius; - ld hy = (y - vid.ycenter) / vid.radius; + ld hy = (y - vid.ycenter) / vid.radius / vid.stretch; if(pmodel) { ghx = hx, ghy = hy;