From 3d306c6aa55f4eb639ffc7b703d74822526dde5e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 6 Feb 2021 02:02:55 +0100 Subject: [PATCH] fixed the donut view --- rug.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rug.cpp b/rug.cpp index c15214c3..3b68cf1d 100644 --- a/rug.cpp +++ b/rug.cpp @@ -445,9 +445,8 @@ EX void buildTorusRug() { r->y1 = onscreen[1]; if(1) { - hyperpoint hp = ct.torus_to_s4(h); - USING_NATIVE_GEOMETRY; + hyperpoint hp = ct.torus_to_s4(h); /* spherical coordinates are already good, otherwise... */ @@ -464,6 +463,8 @@ EX void buildTorusRug() { if(hyperbolic) hp = perspective_to_space(hp, 1, gcHyperbolic); + + r->native = hp; } r->valid = true;