summaryrefslogtreecommitdiff
path: root/src/mesh.hpp
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-25 17:05:01 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-25 17:05:01 -0700
commitf4a7739a40c095e0c837d78d00f13a1ef47d3a11 (patch)
tree901a02ea8cf1cab8344bf3d6310ae4812f7062f4 /src/mesh.hpp
parentebc517c800a90f6f0ed157e5c3bd7c3bd18165b5 (diff)
downloadgbarubik-f4a7739a40c095e0c837d78d00f13a1ef47d3a11.tar.gz
gbarubik-f4a7739a40c095e0c837d78d00f13a1ef47d3a11.zip
cube foo init
Diffstat (limited to 'src/mesh.hpp')
-rw-r--r--src/mesh.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesh.hpp b/src/mesh.hpp
deleted file mode 100644
index 55b414a..0000000
--- a/src/mesh.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "mesh.hpp"
-#include "scene.hpp"
-#include <tuple>
-
-void Mesh::render(std::shared_ptr<Scene> scene_context) {
- for (const TRIANGLE triangle : m_triangles) {
- VECTOR v0 = m_vertices[std::get<0>(triangle.vertex_indices)];
- VECTOR v1 = m_vertices[std::get<1>(triangle.vertex_indices)];
- VECTOR v2 = m_vertices[std::get<2>(triangle.vertex_indices)];
- }
-}