From f163e8f37123e651ea80b690793845b31ddb8639 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 6 Apr 2022 20:52:51 -0700 Subject: Changeset: 2 Work on moving infrastruture to this project --- source/Mesh.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 source/Mesh.hpp (limited to 'source/Mesh.hpp') diff --git a/source/Mesh.hpp b/source/Mesh.hpp new file mode 100644 index 0000000..d383087 --- /dev/null +++ b/source/Mesh.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "PodVector.hpp" +#include "RcPtr.hpp" + +#include + +struct MeshVertex { + float x, y, z; + float u, v; + uint8_t r, g, b, a; +}; + +class Mesh : public RefCounted { +private: + PodVector mVertex; +}; -- cgit v1.2.3-70-g09d2