From 16c2cdce6ad1d89d3c537f2c2cff743449925125 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 08:33:55 +0100 Subject: feat(platform): Centralize platform-specific WebGPU code and improve shader composition --- src/util/mesh_utils.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/util/mesh_utils.h (limited to 'src/util') diff --git a/src/util/mesh_utils.h b/src/util/mesh_utils.h new file mode 100644 index 0000000..df203ed --- /dev/null +++ b/src/util/mesh_utils.h @@ -0,0 +1,13 @@ +// This file is part of the 64k demo project. +// It defines utility structures and functions for mesh processing. + +#pragma once + +#include "util/mini_math.h" + +// Vertex structure for meshes +struct MeshVertex { + vec3 position; + vec3 normal; + vec2 uv; +}; -- cgit v1.2.3