aboutsummaryrefslogtreecommitdiff
path: root/source/30-game/Mesh.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2023-10-19 22:50:07 -0700
committerrtk0c <[email protected]>2025-08-16 11:31:16 -0700
commit297232d21594b138bb368a42b5b0d085ff9ed6aa (patch)
tree075d5407e1e12a9d35cbee6e4c20ad34e0765c42 /source/30-game/Mesh.hpp
parentd5cd34ff69f7fd134d5450696f298af1a864afbc (diff)
The great renaming: switch to "module style"
Diffstat (limited to 'source/30-game/Mesh.hpp')
-rw-r--r--source/30-game/Mesh.hpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/source/30-game/Mesh.hpp b/source/30-game/Mesh.hpp
deleted file mode 100644
index f86fd55..0000000
--- a/source/30-game/Mesh.hpp
+++ /dev/null
@@ -1,45 +0,0 @@
-#pragma once
-
-#include "Color.hpp"
-#include "VertexIndex.hpp"
-#include "PodVector.hpp"
-#include "RcPtr.hpp"
-
-#include <cstddef>
-#include <cstdint>
-#include <glm/glm.hpp>
-#include <memory>
-
-struct StandardVertexExtra {
- float u, v;
- uint8_t r, g, b, a;
-};
-
-class StandardCpuMeshData {
-public:
- PodVector<glm::vec3> vertPositions;
- PodVector<StandardVertexExtra> vertExtra;
- PodVector<uint32_t> index;
- size_t vertexCount;
- size_t triangleCount;
-};
-
-class StandardCpuMesh {
-// private:
-// StandardCpuMeshData* mData = nullptr;
-// RcPtr<GpuMesh> mGpuMesh;
-
-// public:
-// StandardCpuMesh();
-// ~StandardCpuMesh();
-
-// GpuVertexBuffer* GetPosBuffer() const;
-// GpuVertexBuffer* GetExtraBuffer() const;
-// GpuMesh* GetGpuMesh() const { return mGpuMesh.Get(); }
-
-// void CreateCpuData();
-// bool UpdatePositions(glm::vec3* pos, size_t count, size_t startVertIndex);
-// bool UpdateColors(RgbaColor* color, size_t count, size_t starVertIndex);
-// bool UpdateNormals(glm::vec2* normals, size_t count, size_t startVertIndex);
-// bool UpdateIndices(uint32_t* indices, size_t count, size_t startVertIndex);
-};