Starting metal backend
This commit is contained in:
1 parent
fdb43626bb
commit
2359b1e984
24 files changed
+1116
-93
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user