1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix item and wield meshes (#6596)

This commit is contained in:
Vitaliy 2017-11-14 21:23:34 +03:00 committed by sfan5
parent 8ea86338ab
commit ee6bb5a315
4 changed files with 57 additions and 35 deletions

View file

@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes_extrabloated.h"
#include "client/tile.h"
#include "voxel.h"
#include <array>
#include <map>
class Client;
@ -187,7 +188,7 @@ struct PreMeshBuffer
struct MeshCollector
{
std::vector<PreMeshBuffer> prebuffers[MAX_TILE_LAYERS];
std::array<std::vector<PreMeshBuffer>, MAX_TILE_LAYERS> prebuffers;
bool m_use_tangent_vertices;
MeshCollector(bool use_tangent_vertices):