1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

fixed a bug with dice drawing

This commit is contained in:
Zeno Rogue 2021-06-06 10:13:19 +02:00
parent 805f33d8fa
commit 0e7adf28a8

View File

@ -1309,7 +1309,11 @@ EX namespace dice {
array<hyperpoint, 5> face; array<hyperpoint, 5> face;
hyperpoint dctr = zpush(base_to_base) * C0; hyperpoint dctr;
if(1) {
dynamicval<eGeometry> g(geometry, highdim);
dctr = zpush(base_to_base) * C0;
}
auto sphere_to_space = [&] (hyperpoint h) { auto sphere_to_space = [&] (hyperpoint h) {
if(fpp) return h; if(fpp) return h;