fixed leb128 integer decoding
This commit is contained in:
parent
1d720c790d
commit
7660bc09bc
3 changed files with 305 additions and 281 deletions
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue