mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
remove GLEW from MeshData.hpp & format Mesh.inl
This commit is contained in:
parent
ec0dbae3f7
commit
47b7472231
10 changed files with 125 additions and 70 deletions
|
|
@ -14,7 +14,10 @@ struct LineVertex {
|
|||
glm::vec3 position;
|
||||
glm::vec4 color;
|
||||
|
||||
static constexpr VertexAttribute ATTRIBUTES[] { {GL_FLOAT,false,3},{GL_FLOAT,false,4}, {0} };
|
||||
static constexpr VertexAttribute ATTRIBUTES[] {
|
||||
{VertexAttribute::Type::FLOAT, false, 3},
|
||||
{VertexAttribute::Type::FLOAT, false, 4},
|
||||
{{}, 0}};
|
||||
};
|
||||
|
||||
class LineBatch : public Flushable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue