mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
rename vattr to VertexAttribute
This commit is contained in:
parent
65287b3273
commit
5240fe6226
11 changed files with 16 additions and 16 deletions
|
|
@ -39,7 +39,7 @@ Skybox::Skybox(uint size, Shader& shader)
|
|||
-1.0f, -1.0f, -1.0f, 1.0f, 1.0f, 1.0f,
|
||||
-1.0f, -1.0f, 1.0f, 1.0f, 1.0f, -1.0f
|
||||
};
|
||||
vattr attrs[] {{2}, {0}};
|
||||
VertexAttribute attrs[] {{2}, {0}};
|
||||
mesh = std::make_unique<Mesh>(vertices, 6, attrs);
|
||||
|
||||
sprites.push_back(skysprite {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue