diff options
Diffstat (limited to 'gfx/src/scene/mesh_impl.h')
-rw-r--r-- | gfx/src/scene/mesh_impl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx/src/scene/mesh_impl.h b/gfx/src/scene/mesh_impl.h new file mode 100644 index 0000000..858b147 --- /dev/null +++ b/gfx/src/scene/mesh_impl.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <gfx/scene/mesh.h> | ||
4 | |||
5 | typedef struct Mesh { | ||
6 | const Geometry* geometry; | ||
7 | const Material* material; | ||
8 | } Mesh; | ||
9 | |||
10 | // TODO: a mesh_render() that takes a transform, applies the material and the | ||
11 | // transform, and then renders the geometry. | ||