Watch
2
0
Fork
You've already forked raylib-cs
0

Remove Rectangle

This commit is contained in:
MrScautHD 2023-07-01 09:58:23 +02:00
commit 8f22601201
5 changed files with 4 additions and 29 deletions

View file

@ -1,4 +1,5 @@
using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace Raylib_cs

View file

@ -1,3 +1,4 @@
using System.Drawing;
using System.Runtime.InteropServices;
namespace Raylib_cs

View file

@ -1,4 +1,5 @@
using System;
using System.Drawing;
using System.Numerics;
using System.Runtime.InteropServices;

View file

@ -1,29 +0,0 @@
using System.Runtime.InteropServices;
namespace Raylib_cs
{
/// <summary>
/// Rectangle type
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public partial struct Rectangle
{
public float x;
public float y;
public float width;
public float height;
public Rectangle(float x, float y, float width, float height)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
}
public override string ToString()
{
return $"{{X:{x} Y:{y} Width:{width} Height:{height}}}";
}
}
}