From 48bccdbd70f053e53671d2bd6dbabe09ff29c8ca Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 12 Jul 2021 10:01:16 +0200 Subject: [PATCH] get_sphere_loc function --- reg3.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reg3.cpp b/reg3.cpp index 62fd4ba3..2e0753b4 100644 --- a/reg3.cpp +++ b/reg3.cpp @@ -1620,6 +1620,10 @@ EX namespace reg3 { }; + EX const transmatrix& get_sphere_loc(int v) { + return ((hrmap_sphere3*)currentmap)->locations[v]; + } + struct hrmap_h3_rule : hrmap { heptagon *origin;