mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-03 12:23:56 +00:00
fixup to tes working
This commit is contained in:
parent
16a2aa0f4b
commit
5edb1dba04
@ -1172,6 +1172,12 @@ EX namespace geom3 {
|
|||||||
return f();
|
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); })
|
#define IPF(x) geom3::in_flipped([&] { return (x); })
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user