Untitled Game engine no.5  1.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Engine::Mesh Struct Reference

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< MeshgetPrimative (Primative p)
 
static std::vector< glm::vec3 > quadVerts (glm::mat4 tf)
 
static std::vector< Vertexquad (glm::mat4 tf)
 
static Mesh Quad ()
 
static Mesh Cube ()
 

Public Attributes

std::vector< Vertexverts
 Vertices for this mesh.
 

Static Public Attributes

static std::unordered_map< Primative, Ref< Mesh > > primatives = std::unordered_map<Primative, Ref<Mesh>>()
 

Detailed Description

A set of vertices used for drawing.


The documentation for this struct was generated from the following files: