mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 08:59:07 +00:00
feat(region): add classic games flavor rect ordering
This commit is contained in:
parent
a96d1270d4
commit
953b426b4c
5 changed files with 244 additions and 96 deletions
|
|
@ -22,7 +22,11 @@ struct RgnDataTest {
|
|||
|
||||
// Helpers for comparing RECTF structs
|
||||
std::ostream& operator <<(std::ostream& os, RECTF const& value) {
|
||||
#if defined(WHOA_RECT_USES_SCREEN_COORDINATES)
|
||||
os << "{ " << value.left << ", " << value.top << ", " << value.right << ", " << value.bottom << " }";
|
||||
#else
|
||||
os << "{ " << value.left << ", " << value.bottom << ", " << value.right << ", " << value.top << " }";
|
||||
#endif
|
||||
return os;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue