1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 19:54:47 +00:00

models:: makeband as a function

This commit is contained in:
Zeno Rogue 2022-03-27 09:04:21 +02:00
parent 8e710784df
commit 166f076f2d

View File

@ -277,6 +277,10 @@ template<class T> void makeband(shiftpoint H, hyperpoint& ret, const T& f) {
return; 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) { void band_conformal(ld& x, ld& y) {
switch(cgclass) { switch(cgclass) {
case gcSphere: case gcSphere: