| 
    leistungsnachweis-dingo
    
   | 
 
#include <Chunk.h>
Public Member Functions | |
| Chunk (u8 x, u8 y, std::vector< Area *> areas, ChunkType type, Area *def) | |
| void | calculate () | 
| void | renderToPGM (std::string const &filename) | 
Public Attributes | |
| float | values [CHUNK_SIZE *CHUNK_SIZE] | 
| u32 | x | 
| u32 | y | 
| Area * | area | 
| ChunkType | type | 
A chunk holds the values that will be rendered into our 3D model. Chunks live within Areas and use their randomly generated parameters to calculate the perlin noise values.
 1.8.14