Starting metal backend

This commit is contained in:
Dynamitos
2024-04-09 16:41:12 +02:00
parent fdb43626bb
commit 2359b1e984
24 changed files with 1116 additions and 93 deletions
-12
View File
@@ -7,18 +7,6 @@ namespace Seele
{
struct Rect
{
Rect()
: size(0, 0), offset(0, 0)
{
}
Rect(float sizeX, float sizeY, float offsetX, float offsetY)
: size(sizeX, sizeY), offset(offsetX, offsetY)
{
}
Rect(Vector2 size, Vector2 offset)
: size(size), offset(offset)
{
}
bool isEmpty() const
{
return size.x == 0 || size.y == 0;