summaryrefslogtreecommitdiff
path: root/src/rendering
diff options
context:
space:
mode:
Diffstat (limited to 'src/rendering')
-rw-r--r--src/rendering/gltf.zig13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rendering/gltf.zig b/src/rendering/gltf.zig
index 2abeec1..614ee25 100644
--- a/src/rendering/gltf.zig
+++ b/src/rendering/gltf.zig
@@ -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,
+ },
+};