mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
fix typos
This commit is contained in:
parent
f89f825081
commit
f884455299
1 changed files with 2 additions and 2 deletions
|
|
@ -24,11 +24,11 @@ struct VertexAttribute {
|
||||||
sizeof(VertexAttribute) == 6; // + dynamic data array
|
sizeof(VertexAttribute) == 6; // + dynamic data array
|
||||||
|
|
||||||
struct Mesh {
|
struct Mesh {
|
||||||
uint32 triangles_count; // number of mesh triangles
|
uint32 triangle_count; // number of mesh triangles
|
||||||
uint16 material_id;
|
uint16 material_id;
|
||||||
uint16 flags;
|
uint16 flags;
|
||||||
uint16 attribute_count;
|
uint16 attribute_count;
|
||||||
VertexAttributes attributes[];
|
VertexAttribute attributes[];
|
||||||
uint8 indices[]; // if compressed, first 4 bytes of compressed data is compressed buffer size
|
uint8 indices[]; // if compressed, first 4 bytes of compressed data is compressed buffer size
|
||||||
};
|
};
|
||||||
sizeof(Mesh) == 10; // + dynamic attributes array + dynamic indices array
|
sizeof(Mesh) == 10; // + dynamic attributes array + dynamic indices array
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue