diff options
author | 3gg <3gg@shellblade.net> | 2025-07-04 10:27:06 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-07-04 10:27:06 -0700 |
commit | 1ec46bead3cf87971a2329f9ef4ddde5a0c48325 (patch) | |
tree | 3f4c404467c3ad9c94265295f4aa1b97a10a9eb3 /src/llr/mesh_impl.h | |
parent | e386405ac636b7e4a41d5c03eb363e9c120ce919 (diff) |
Clarify doc
Diffstat (limited to 'src/llr/mesh_impl.h')
-rw-r--r-- | src/llr/mesh_impl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/llr/mesh_impl.h b/src/llr/mesh_impl.h new file mode 100644 index 0000000..47ff525 --- /dev/null +++ b/src/llr/mesh_impl.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <../../include/gfx/llr/mesh.h> | ||
4 | |||
5 | typedef struct Mesh { | ||
6 | const Geometry* geometry; | ||
7 | const Material* material; | ||
8 | ShaderProgram* shader; | ||
9 | } Mesh; | ||
10 | |||
11 | // TODO: a mesh_render() that takes a transform, applies the material and the | ||
12 | // transform, and then renders the geometry. | ||