Update raygui Rectangle to match raylib Rectangle (#88)

Rectangle in raygui should use a float.
This commit is contained in:
Rob Loach
2020-05-04 14:14:04 -04:00
committed by GitHub
parent 8a38a8028e
commit 8c33be58b2

View File

@ -216,10 +216,10 @@
// Rectangle type // Rectangle type
typedef struct Rectangle { typedef struct Rectangle {
int x; float x;
int y; float y;
int width; float width;
int height; float height;
} Rectangle; } Rectangle;
// TODO: Texture2D type is very coupled to raylib, mostly required by GuiImageButton() // TODO: Texture2D type is very coupled to raylib, mostly required by GuiImageButton()