Not-Nik / raylib-zig

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

fix: remove const from parameters in Vector3Length functions #20

Closed Ivan-Velickovic closed 2 years ago

Ivan-Velickovic commented 2 years ago

When trying to build the 2d_camera example, there's a build error due to the parameter in the Vector3Length functions having the type const Vector3 instead of Vector3. I don't think const Vector3 is valid Zig.

Not-Nik commented 2 years ago

Are you on Zig 0.10?

Ivan-Velickovic commented 2 years ago

Yes, however 0.9.1 produces the same error.

7v0lk0v commented 2 years ago

Tested 0.9.0, 0.9.1, 0.10.0 - same error.