diff options
Diffstat (limited to 'src/scene/mesh_impl.h')
-rw-r--r-- | src/scene/mesh_impl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/scene/mesh_impl.h b/src/scene/mesh_impl.h new file mode 100644 index 0000000..560b77e --- /dev/null +++ b/src/scene/mesh_impl.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <gfx/scene/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. | ||