mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-18 09:26:41 +00:00
18 lines
397 B
C#
18 lines
397 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public readonly 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;
|
|
}
|
|
}
|
|
}
|