Refactor: Move code to rutile module and namespace
This commit is contained in:
parent
bb43d308c0
commit
8039b1276e
12 changed files with 59 additions and 59 deletions
|
|
@ -19,7 +19,7 @@ export namespace sdl
|
|||
* Wrapper around SDL_RectEmptyFloat().
|
||||
* @return True if the floating point rectangle takes no space.
|
||||
*/
|
||||
constexpr bool is_empty() const
|
||||
bool is_empty() const
|
||||
{
|
||||
return SDL_RectEmptyFloat(this);
|
||||
}
|
||||
|
|
@ -34,7 +34,7 @@ export namespace sdl
|
|||
* Wrapper around SDL_RectEmpty().
|
||||
* @return True if the rectangle takes no space.
|
||||
*/
|
||||
constexpr bool is_empty() const
|
||||
bool is_empty() const
|
||||
{
|
||||
return SDL_RectEmpty(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue