summaryrefslogtreecommitdiff
path: root/gfx/src/scene/mesh_impl.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-01-03 08:49:54 -0800
committer3gg <3gg@shellblade.net>2023-01-03 08:49:54 -0800
commit1e3fcf5b38d67fb54102786be74af42be5c6792f (patch)
tree88bff4e24121c50d0e3c62f5ddb4eff6a3dfa238 /gfx/src/scene/mesh_impl.h
Initial commit.
Diffstat (limited to 'gfx/src/scene/mesh_impl.h')
-rw-r--r--gfx/src/scene/mesh_impl.h11
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
5typedef 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.