From 0e7adf28a852dd29eda07162a6b9b2d13b852ea0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 6 Jun 2021 10:13:19 +0200 Subject: [PATCH] fixed a bug with dice drawing --- complex2.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/complex2.cpp b/complex2.cpp index 290fe83f..83ac21ad 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -1309,7 +1309,11 @@ EX namespace dice { array face; - hyperpoint dctr = zpush(base_to_base) * C0; + hyperpoint dctr; + if(1) { + dynamicval g(geometry, highdim); + dctr = zpush(base_to_base) * C0; + } auto sphere_to_space = [&] (hyperpoint h) { if(fpp) return h;