Symphony Of Empires
|
#include <primitive.hpp>
Public Member Functions | |
Square (float start_x, float start_y, float end_x, float end_y) | |
Square (const Eng3D::Rectangle &pos, const Eng3D::Rectangle &texcoord) | |
~Square ()=default | |
Public Member Functions inherited from Eng3D::MeshStatic< 6, 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< 6, 0, glm::vec2, glm::vec2 > | |
using | DataType = Eng3D::MeshData< glm::vec2, glm::vec2, void > |
Public Attributes inherited from Eng3D::MeshStatic< 6, 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 50 of file primitive.hpp.
Eng3D::Square::Square | ( | float | start_x, |
float | start_y, | ||
float | end_x, | ||
float | end_y | ||
) |
Eng3D::Square::Square | ( | const Eng3D::Rectangle & | pos, |
const Eng3D::Rectangle & | texcoord | ||
) |
|
default |