1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-28 17:00:19 +00:00

somehow fundamental.cpp was not moved

This commit is contained in:
Zeno Rogue 2025-02-24 11:49:43 +01:00
parent 93f32ec7b8
commit 4f2d8d56ab

View File

@ -1,11 +1,11 @@
// show the fundamental domain for quotient spaces // show the fundamental domain for quotient spaces
// Copyright (C) 2018 Zeno and Tehora Rogue, see 'hyper.cpp' for details // Copyright (C) 2018-2025 Zeno and Tehora Rogue, see 'hyper.cpp' for details
#include "rogueviz.h" #include "hyper.h"
namespace hr { namespace hr {
namespace fundamental { EX namespace fundamental {
transmatrix current_position, last_view; transmatrix current_position, last_view;
@ -342,7 +342,7 @@ void shapedata::render() {
void fundamental_marker() { void fundamental_marker() {
current_domain = nullptr; current_domain = nullptr;
if(!sett.funmode || !quotient || !closed_manifold || GDIM == 3) return; if(!sett.funmode || !quotient || !closed_manifold || WDIM != 2) return;
sd.compute_shape(); sd.compute_shape();
sd.render(); sd.render();
} }