diff options
| author | Mel <einebeere@gmail.com> | 2022-10-23 21:28:09 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-23 21:28:09 +0200 |
| commit | ad84d0686f1d7f72e86b55cdadd8272f225f776d (patch) | |
| tree | 4d3cb6fbc48f41126407d10eac3d835c1b2d0a91 /src/World | |
| parent | 75a9c87b50cef2f1d749bd9042a9348bc28b4c09 (diff) | |
| download | meowcraft-ad84d0686f1d7f72e86b55cdadd8272f225f776d.tar.zst meowcraft-ad84d0686f1d7f72e86b55cdadd8272f225f776d.zip | |
Modular mesh vertex attributes
Diffstat (limited to 'src/World')
| -rw-r--r-- | src/World/Chunk.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/World/Chunk.cpp b/src/World/Chunk.cpp index ee408ae..cd6d4f6 100644 --- a/src/World/Chunk.cpp +++ b/src/World/Chunk.cpp @@ -45,7 +45,10 @@ GFX::Mesh Chunk::mesh() { } } - return {positions, normals, tex_coords, indices}; + return { + {positions, normals, tex_coords}, + indices, + }; } Vector<3> Chunk::position() { |
