From e66286ebe30afc9acc4531fc2bea29b7fb924f93 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 30 May 2022 17:03:20 -0700 Subject: Changeset: 56 Buildsystem cleanup: change to layered structure for different targets --- source/Mesh.hpp | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 source/Mesh.hpp (limited to 'source/Mesh.hpp') diff --git a/source/Mesh.hpp b/source/Mesh.hpp deleted file mode 100644 index f86fd55..0000000 --- a/source/Mesh.hpp +++ /dev/null @@ -1,45 +0,0 @@ -#pragma once - -#include "Color.hpp" -#include "VertexIndex.hpp" -#include "PodVector.hpp" -#include "RcPtr.hpp" - -#include -#include -#include -#include - -struct StandardVertexExtra { - float u, v; - uint8_t r, g, b, a; -}; - -class StandardCpuMeshData { -public: - PodVector vertPositions; - PodVector vertExtra; - PodVector index; - size_t vertexCount; - size_t triangleCount; -}; - -class StandardCpuMesh { -// private: -// StandardCpuMeshData* mData = nullptr; -// RcPtr 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); -}; -- cgit v1.2.3-70-g09d2