mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
move chunk vertex attributes info to commons.hpp
This commit is contained in:
parent
608eb60514
commit
65287b3273
4 changed files with 32 additions and 30 deletions
|
|
@ -7,6 +7,11 @@
|
|||
#include "graphics/core/MeshData.hpp"
|
||||
#include "util/Buffer.hpp"
|
||||
|
||||
/// @brief Chunk mesh vertex attributes
|
||||
inline const vattr CHUNK_VATTRS[]{ {3}, {2}, {1}, {0} };
|
||||
/// @brief Chunk mesh vertex size divided by sizeof(float)
|
||||
inline constexpr int CHUNK_VERTEX_SIZE = 6;
|
||||
|
||||
class Mesh;
|
||||
|
||||
struct SortingMeshEntry {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue