Bump to Zig 0.12/raylib 5.1-dev (#81)
* Update to Zig 0.12.0 and raylib 5.1-dev * More build.zig fixes for 0.12 * Get module with target and optimization * Add examples to build step when compiling for emscripten * Remove unused function * Add build.* and emcc.zig to the zon paths (#83) As per some info found through https://github.com/ziglang/zig/issues/18282, this is apparently necessary to use this library as a dependency. Co-authored-by: Drum Ogilvie <me@daogilvie.com> * Update binding
This commit is contained in:
parent
6eeb304ff3
commit
ae751ce82e
17 changed files with 1161 additions and 327 deletions
|
|
@ -14,10 +14,11 @@ pub const rlVertexBuffer = extern struct {
|
|||
elementCount: c_int,
|
||||
vertices: [*c]f32,
|
||||
texcoords: [*c]f32,
|
||||
normals: [*c]f32,
|
||||
colors: [*c]u8,
|
||||
indices: [*c]c_ushort,
|
||||
vaoId: c_uint,
|
||||
vboId: [4]c_uint,
|
||||
vboId: [5]c_uint,
|
||||
};
|
||||
|
||||
pub const rlDrawCall = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue