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:
parent
8e710784df
commit
166f076f2d
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user