Symphony Of Empires
|
#include <primitive.hpp>
Public Member Functions | |
TriangleList (std::vector< glm::vec3 > &positions, std::vector< glm::vec2 > &tex_coords) | |
~TriangleList ()=default | |
Public Member Functions inherited from Eng3D::Mesh< glm::vec3, glm::vec2 > | |
Mesh (enum Eng3D::MeshMode _mode) | |
Mesh (const Mesh &)=delete | |
Mesh (Mesh &&) noexcept=default | |
virtual | ~Mesh ()=default |
Mesh & | operator= (const Mesh &)=delete |
void | draw (int instances=0) const |
virtual void | upload () const |
void | instancing (I &instances_buffer, int instances=0) |
Enables instances on this simple mesh. More... | |
Additional Inherited Members | |
Public Types inherited from Eng3D::Mesh< glm::vec3, glm::vec2 > | |
using | DataType = Eng3D::MeshData< glm::vec3, glm::vec2, void > |
Public Attributes inherited from Eng3D::Mesh< glm::vec3, glm::vec2 > | |
std::vector< DataType > | buffer |
std::vector< unsigned int > | indices |
enum Eng3D::MeshMode | mode |
Definition at line 56 of file primitive.hpp.
Eng3D::TriangleList::TriangleList | ( | std::vector< glm::vec3 > & | positions, |
std::vector< glm::vec2 > & | tex_coords | ||
) |
|
default |