Symphony Of Empires
|
#include <primitive.hpp>
Public Member Functions | |
Line (glm::vec2 start, glm::vec2 end) | |
~Line ()=default | |
Public Member Functions inherited from Eng3D::MeshStatic< 2, 0, glm::vec2, glm::vec2 > | |
MeshStatic (enum Eng3D::MeshMode _mode) | |
MeshStatic (const MeshStatic &)=delete | |
MeshStatic (MeshStatic &&) noexcept=default | |
virtual | ~MeshStatic ()=default |
MeshStatic & | operator= (const MeshStatic &)=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::MeshStatic< 2, 0, glm::vec2, glm::vec2 > | |
using | DataType = Eng3D::MeshData< glm::vec2, glm::vec2, void > |
Public Attributes inherited from Eng3D::MeshStatic< 2, 0, glm::vec2, glm::vec2 > | |
std::array< DataType, vtc_size > | buffer |
std::array< unsigned int, i_size > | indices |
enum Eng3D::MeshMode | mode |
Definition at line 35 of file primitive.hpp.
Eng3D::Line::Line | ( | glm::vec2 | start, |
glm::vec2 | end | ||
) |
|
default |