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

Update names of methods, variables, and other elements

This commit is contained in:
MrScautHD 2023-07-15 13:28:19 +02:00 committed by GitHub
commit fd4ea148b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 1190 additions and 1204 deletions

View file

@ -8,22 +8,21 @@ namespace Raylib_cs
[StructLayout(LayoutKind.Sequential)]
public partial struct Rectangle
{
public float x;
public float y;
public float width;
public float height;
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 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}}}";
return $"{{X:{X} Y:{Y} Width:{Width} Height:{Height}}}";
}
}
}