-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
In order to use the *Pro and *Ex functions you often need to pass the values using RL structs like Vector2 or Rectangle.
In C you can just use it as an array with a cast to the struct type: (Vector2){0.0f, 0.0f}.
In Java you have to allocate it using the "new" keyword, then manually set its values and possibly later .close() it after using.
It is very unhandy.
Considering that both Vector2 and Rectangle are just arrays of floats - of two and four floats respectively, could it be possible to be able to pass float[] in place of Vector2 or Rectangle?
It would be much more pleasant to use and definitely much less frustrating to write.
Metadata
Metadata
Assignees
Labels
No labels