diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 08:33:55 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 08:33:55 +0100 |
| commit | 16c2cdce6ad1d89d3c537f2c2cff743449925125 (patch) | |
| tree | 44792b3f8909dba5622143179c95787fd4de5149 /src/util/mesh_utils.h | |
| parent | d19aec6690bdf515435f4052275828b061c3f71f (diff) | |
feat(platform): Centralize platform-specific WebGPU code and improve shader composition
Diffstat (limited to 'src/util/mesh_utils.h')
| -rw-r--r-- | src/util/mesh_utils.h | 13 |
1 files changed, 13 insertions, 0 deletions
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; +}; |
