fixed leb128 integer decoding

This commit is contained in:
Lorenzo Torres 2025-03-23 22:40:03 +01:00
parent 1d720c790d
commit 7660bc09bc
3 changed files with 305 additions and 281 deletions

View file

@ -1,3 +1,16 @@
const std = @import("std");
const mesh = @import("mesh.zig");
const Allocator = std.mem.Allocator;
pub const Model = packed struct {
const Chunk = packed struct {
length: u32,
ty: u32,
},
header: packed struct {
magic: u32,
version: u32,
length: u32,
},
};