Untitled Game engine no.5
1.0
|
A set of vertices used for drawing. More...
#include <Mesh.hpp>
Public Member Functions | |
Mesh (std::vector< Vertex > verts) | |
Static Public Member Functions | |
static Ref< Mesh > | getPrimative (Primative p) |
static std::vector< glm::vec3 > | quadVerts (glm::mat4 tf) |
static std::vector< Vertex > | quad (glm::mat4 tf) |
static Mesh | Quad () |
static Mesh | Cube () |
Public Attributes | |
std::vector< Vertex > | verts |
Vertices for this mesh. | |
Static Public Attributes | |
static std::unordered_map< Primative, Ref< Mesh > > | primatives = std::unordered_map<Primative, Ref<Mesh>>() |
A set of vertices used for drawing.