mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Update raygui Rectangle to match raylib Rectangle (#88)
Rectangle in raygui should use a float.
This commit is contained in:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user