1234567891011121314151617181920 |
- #ifndef MESH_H
- #define MESH_H
- #include "gaming-core/wrapper/VertexBuffer.h"
- #include "gaming-core/utils/TypedBuffer.h"
- #include "client/rendering/Triangle.h"
- class Mesh final {
- public:
- Mesh();
- void build(const TypedBuffer<Triangle>& buffer);
- void draw();
- private:
- VertexBuffer vertexBuffer;
- int vertices;
- };
- #endif
|