diff options
Diffstat (limited to 'source/Mesh.hpp')
-rw-r--r-- | source/Mesh.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
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 <cstdint> + +struct MeshVertex { + float x, y, z; + float u, v; + uint8_t r, g, b, a; +}; + +class Mesh : public RefCounted { +private: + PodVector<MeshVertex> mVertex; +}; |