zig-sfml-wrapper
zig-sfml-wrapper copied to clipboard
A zig wrapper for csfml
hello again I looked at the `pollEvent()` code and tried to do something similar
Some places I used optionals just because the translate c made signatures with optional pointers, but it seems like - some methods always return a pointer - even when it...
When window.draw is called to a pointer it doesn't compile because `@field` doesn't work on pointers.
in the [raylib wrapper](https://github.com/Not-Nik/raylib-zig) it just uses the package in [the official ratlib repo](https://github.com/raysan5/raylib) and makes a wrapper arround it