models:: makeband as a function

This commit is contained in:
Zeno Rogue 2022-03-27 09:04:21 +02:00
parent 8e710784df
commit 166f076f2d
1 changed files with 4 additions and 0 deletions

View File

@ -277,6 +277,10 @@ template<class T> void makeband(shiftpoint H, hyperpoint& ret, const T& f) {
return;
}
EX void makeband_f(shiftpoint H, hyperpoint& ret, const hr::function<void(ld&,ld&)>& f) {
makeband(H, ret, f);
}
void band_conformal(ld& x, ld& y) {
switch(cgclass) {
case gcSphere: