rename vattr to VertexAttribute

This commit is contained in:
MihailRis
2024-11-17 01:00:27 +03:00
parent 65287b3273
commit 5240fe6226
11 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -656,8 +656,8 @@ ChunkMeshData BlocksRenderer::createMesh() {
MeshData(
util::Buffer<float>(vertexBuffer.get(), vertexOffset),
util::Buffer<int>(indexBuffer.get(), indexSize),
util::Buffer<vattr>(
CHUNK_VATTRS, sizeof(CHUNK_VATTRS) / sizeof(vattr)
util::Buffer<VertexAttribute>(
CHUNK_VATTRS, sizeof(CHUNK_VATTRS) / sizeof(VertexAttribute)
)
),
std::move(sortingMesh)};