36 const video::S3DVertex *vertices, u32 numVertices,
37 const u16 *indices, u32 numIndices);
39 const video::S3DVertex *vertices, u32 numVertices,
40 const u16 *indices, u32 numIndices,
41 v3f pos, video::SColor c, u8 light_source);
45 const video::S3DVertex *vertices, u32 numVertices,
46 const u16 *indices, u32 numIndices,
47 u8 layernum,
bool use_scale =
false);
49 const video::S3DVertex *vertices, u32 numVertices,
50 const u16 *indices, u32 numIndices,
51 v3f pos, video::SColor c, u8 light_source,
52 u8 layernum,
bool use_scale =
false);
core::vector3df v3f
Definition irr_v3d.h:11
Definition collector.h:24
void append(const TileSpec &material, const video::S3DVertex *vertices, u32 numVertices, const u16 *indices, u32 numIndices)
Definition collector.cpp:10
MeshCollector(const v3f center_pos, v3f offset=v3f())
Definition collector.h:33
v3f offset
Definition collector.h:29
v3f m_center_pos
Definition collector.h:28
std::array< std::vector< PreMeshBuffer >, MAX_TILE_LAYERS > prebuffers
Definition collector.h:25
PreMeshBuffer & findBuffer(const TileLayer &layer, u8 layernum, u32 numVertices)
Definition collector.cpp:83
f32 m_bounding_radius_sq
Definition collector.h:27
Definition collector.h:14
std::vector< video::S3DVertex > vertices
Definition collector.h:17
TileLayer layer
Definition collector.h:15
PreMeshBuffer(const TileLayer &layer)
Definition collector.h:20
std::vector< u16 > indices
Definition collector.h:16
Defines a layer of a tile.
Definition tile.h:56
#define MAX_TILE_LAYERS
Definition tile.h:52