Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
MapBlockFlags::Chunk Class Reference
+ Collaboration diagram for MapBlockFlags::Chunk:

Public Member Functions

u8 & getBits (v3s16 pos)
 

Private Member Functions

std::size_t getAddress (v3s16 pos)
 

Private Attributes

std::array< u8, CHUNK_VOLUMEbits
 

Member Function Documentation

◆ getAddress()

std::size_t MapBlockFlags::Chunk::getAddress ( v3s16 pos)
inlineprivate

References MapBlockFlags::CHUNK_EDGE, and MapBlockFlags::CHUNK_MASK.

Referenced by getBits().

+ Here is the caller graph for this function:

◆ getBits()

u8 & MapBlockFlags::Chunk::getBits ( v3s16 pos)
inline

References bits, and getAddress().

Referenced by ClientMap::updateDrawList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ bits

std::array<u8, CHUNK_VOLUME> MapBlockFlags::Chunk::bits
private

Referenced by getBits().


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