VOX
A little voxel engine
Loading...
Searching...
No Matches
ChunkPacket::ChunkData Struct Reference

#include <ChunkPacket.hpp>

Collaboration diagram for ChunkPacket::ChunkData:
Collaboration graph

Public Member Functions

 ChunkData ()=default
 
 ChunkData (const glm::ivec3 &chunk_pos, const Chunk::BlockArray &blocks, const Chunk::LightArray &light, const Chunk::BiomeArray &biomes)
 

Public Attributes

glm::ivec3 chunk_pos
 
Chunk::BlockArray blocks
 
Chunk::LightArray light
 
Chunk::BiomeArray biomes
 

Constructor & Destructor Documentation

◆ ChunkData() [1/2]

ChunkPacket::ChunkData::ChunkData ( )
default

◆ ChunkData() [2/2]

ChunkPacket::ChunkData::ChunkData ( const glm::ivec3 &  chunk_pos,
const Chunk::BlockArray blocks,
const Chunk::LightArray light,
const Chunk::BiomeArray biomes 
)
inline

Member Data Documentation

◆ biomes

Chunk::BiomeArray ChunkPacket::ChunkData::biomes

◆ blocks

Chunk::BlockArray ChunkPacket::ChunkData::blocks

◆ chunk_pos

glm::ivec3 ChunkPacket::ChunkData::chunk_pos

◆ light

Chunk::LightArray ChunkPacket::ChunkData::light

The documentation for this struct was generated from the following file: