mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-24 07:56:59 +00:00
fixup to tes working
This commit is contained in:
parent
16a2aa0f4b
commit
5edb1dba04
@ -1172,6 +1172,12 @@ EX namespace geom3 {
|
||||
return f();
|
||||
}
|
||||
|
||||
template<class T> auto in_not_flipped(const T& f) -> decltype(f()) {
|
||||
light_flip(false);
|
||||
finalizer ff([] { light_flip(true); });
|
||||
return f();
|
||||
}
|
||||
|
||||
#define IPF(x) geom3::in_flipped([&] { return (x); })
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user