Update raygui Rectangle to match raylib Rectangle (#88)
Rectangle in raygui should use a float.
This commit is contained in:
parent
8a38a8028e
commit
8c33be58b2
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user