From c4b059192f31957449003aa4a7ee9bdee25e381b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 31 Mar 2021 14:35:57 +0200 Subject: [PATCH] hypcity:: fixed normalization --- rogueviz/hypcity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/hypcity.cpp b/rogueviz/hypcity.cpp index 187fb20e..ad21e0a9 100644 --- a/rogueviz/hypcity.cpp +++ b/rogueviz/hypcity.cpp @@ -56,7 +56,7 @@ void prepare_tf() { hx[2] = 0; hx[3] = 1; if(hyperbolic) hx = spin(45 * degree) * hx; - normalize(hx); + hx = normalize(hx); hx = zshift(hx, h[2]*(t*(sphere ? 3 : 7))); return {0, hx};