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
typedef struct Rectangle {
int x;
int y;
int width;
int height;
float x;
float y;
float width;
float height;
} Rectangle;
// TODO: Texture2D type is very coupled to raylib, mostly required by GuiImageButton()