mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 10:24:26 +00:00
fixup to tes working
This commit is contained in:
1 parent
16a2aa0f4b
commit
5edb1dba04
1 file changed
+6
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user