mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2026-01-06 13:33:25 +00:00
I wanted to add lighting to a zig/raylib project, and hit some ABI compatibility issues with rlights.h. The C is pretty simple, so I just ported it, and figured it would be useful to have here in case someone needs the same. I think it might be useful in the main library, but in raylib it is just an example, so I followed suit.
Examples
Making raylib bindings in zig is pretty straight forward since zig has a built-in c parser, so I am now on a quest to port all the examples.
category: core
Examples using raylib core platform functionality like window creation, inputs, drawing modes and system functionality.
| ## | example | developer |
|---|---|---|
| 01 | core_basic_window | ray |
| 02 | core_input_keys | ray |
| 04 | core_input_mouse_wheel | ray |
| 06 | core_input_multitouch | Berni |
| 08 | core_2d_camera | ray |
category: models
Examples using raylib models functionality, including models loading/generation and drawing, provided by raylib models module.
| ## | example | developer |
|---|---|---|
| 74 | models_loading (Won't work) | ray |