mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
24 lines
332 B
Beef
24 lines
332 B
Beef
using System;
|
|
|
|
namespace GlitchyEngine
|
|
{
|
|
[CRepr]
|
|
public struct WindowRectangle
|
|
{
|
|
public int32 X;
|
|
public int32 Y;
|
|
public int32 Width;
|
|
public int32 Height;
|
|
|
|
public this() => this = default;
|
|
|
|
public this(int32 x, int32 y, int32 width, int32 height)
|
|
{
|
|
X = x;
|
|
Y = y;
|
|
Width = width;
|
|
Height = height;
|
|
}
|
|
}
|
|
}
|