I noticed that the constants for primitive draw modes (RL_LINES, RL_TRIANGLES, RL_QUADS, defined in rlgl.h) are missing from rlgl.zig. I'm not sure if it's meant to be this way, or if there's some sort of alternative that I don't see.
At the moment, I'm making do by hardcoding them, e.g. rl.gl.rlBegin(0x007) instead of what I imagine ought to be rl.gl.rlBegin(rl.gl.rl_primitive_draw_modes.rl_quads) or something.
I noticed that the constants for primitive draw modes (
RL_LINES
,RL_TRIANGLES
,RL_QUADS
, defined inrlgl.h
) are missing fromrlgl.zig
. I'm not sure if it's meant to be this way, or if there's some sort of alternative that I don't see.At the moment, I'm making do by hardcoding them, e.g.
rl.gl.rlBegin(0x007)
instead of what I imagine ought to berl.gl.rlBegin(rl.gl.rl_primitive_draw_modes.rl_quads)
or something.Is there a better way?