Phix: cffi.e
- Posted by andreasWagner 1 week ago
- 423 views
I looked at raylib for openeuphoria. Now I'm thinking about how and whether I can use this library with phix.
Can someone tell me how to use this code with phix with cffi.e for example:
In the functioncall Vector2 is not a pointer to a structure but the structure itself.
with ffi.e for openeuphoria this seems to work but i have no idea how to implement this with phix.
/* from raylib.h */ // Vector2, 2 components typedef struct Vector2 { float x; // Vector x component float y; // Vector y component } Vector2; RLAPI void DrawCircleV(Vector2 center, float radius, Color color);maybe i just haven't found it in the documentation yet.
Thank you
Andreas