error: expected type '[*c]raylib-zig. Camera3D', found 'raylib-zig.Camera3D' rl.UpdateCamera(camera); ^~~~~~
My understanding is that
rl.UpdateCamera([:0]camera);
is close to what I need to do, but I get this error
error: expected type 'type', found 'raylib-zig.Camera3D'
I've tried other work arounds, like using zig master and raylib.zig, but that is giving me an even more confusing
error: unexpected
When I try to build the default zig init-exe.
My other thought was to write a little .c helper function that wouldn't have this problem, but I still need to pass in that camera to it, and I think I'll have the same problem all over again.
Is this bug fix related to this problem? Its why I tried the master branch of zig, but I couldn't tell if it would work because of the Unexpected error
https://github.com/ziglang/zig/commit/6511afcfe090f26345873e7e8db3ae301f8a18a7#diff-62bbd081beb069ea40c30bca57c12a38b79cb1ed5a2bcf4e20be63a5335788c7