1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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; };