Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
619 stars 115 forks source link

addded raygui.h by copying steps in raymath (just did a translate-c and made it working from other packages) #92

Closed IbrahimOuhamou closed 4 months ago

IbrahimOuhamou commented 4 months ago

what I did:

  1. downloaded the raygui.h (tag v4.0, currently the latest)
  2. translate-c
  3. fixed the bugs with the help of this post
  4. this PR

is there a CONTRIB.md to know how we can add other ray-lib headers? or requirements so we know what is expected

Not-Nik commented 4 months ago

This is cool, but needs some work. For one I'd prefer raygui over raylib-gui as a module name. raylib-math is an unfortunate relict, kept for backwards compatibility, I intend to remove soon. Also the raygui files should be integrated into the generate_functions.py pipeline, which would be the standard procedure for future header integrations (which would probably only be rcamera.h and rgestures.h)