diff options
author | Elizabeth (Lizzy) Hunt <elizabeth.hunt@simponic.xyz> | 2023-11-28 14:47:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 14:47:29 -0700 |
commit | 4dcdd32bf7578acf3ea9bc1e98d39d82e3e1afdd (patch) | |
tree | 2d9eb3fbc17d453ee33e478bafb9936beff12eb3 /src/mesh.hpp | |
parent | ebc517c800a90f6f0ed157e5c3bd7c3bd18165b5 (diff) | |
parent | 3197f9e40cd7079e19990c64c98de667e2457d75 (diff) | |
download | gbarubik-4dcdd32bf7578acf3ea9bc1e98d39d82e3e1afdd.tar.gz gbarubik-4dcdd32bf7578acf3ea9bc1e98d39d82e3e1afdd.zip |
Cube
Diffstat (limited to 'src/mesh.hpp')
-rw-r--r-- | src/mesh.hpp | 11 |
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)]; - } -} |