mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 09:53:35 +01:00
19 lines
388 B
C#
19 lines
388 B
C#
|
namespace Ryujinx.Graphics.GAL
|
||
|
{
|
||
|
public struct Rectangle<T> where T : unmanaged
|
||
|
{
|
||
|
public T X { get; }
|
||
|
public T Y { get; }
|
||
|
public T Width { get; }
|
||
|
public T Height { get; }
|
||
|
|
||
|
public Rectangle(T x, T y, T width, T height)
|
||
|
{
|
||
|
X = x;
|
||
|
Y = y;
|
||
|
Width = width;
|
||
|
Height = height;
|
||
|
}
|
||
|
}
|
||
|
}
|