|
HPC_Voxel_Engine 0.2.0
High-Performance C++ Voxel Engine
|
Defines the Chunk class representing a localized 3D grid of voxels and its thermal data. More...
#include <FastNoiseLite.h>#include <immintrin.h>#include <cstdint>#include <cstring>#include <memory>#include <vector>#include "../core/MathUtils.h"#include "../physics/AABB.h"#include "../renderer/Buffer.h"#include "../renderer/IndexBuffer.h"#include "../renderer/ThermalVolume.h"#include "../renderer/VertexArray.h"

Go to the source code of this file.
Classes | |
| class | Chunk |
| Manages voxel block data, procedural mesh generation, and memory-aligned thermal diffusion buffers. More... | |
Enumerations | |
| enum | FaceDirection { FRONT , BACK , LEFT , RIGHT , UP , DOWN } |
| enum | Direction { NORTH = 0 , SOUTH , EAST , WEST , ABOVE , BELOW } |
| enum | BlockType { AIR = 0 , GRASS = 1 , DIRT = 2 , STONE = 3 } |
Variables | |
| constexpr int | CHUNK_SIZE = 16 |
| constexpr int | CHUNK_HEIGHT = 16 |
| constexpr int | CHUNK_VOL = CHUNK_SIZE * CHUNK_HEIGHT * CHUNK_SIZE |
| constexpr int | PADDED_CHUNK_SIZE = CHUNK_SIZE + 2 |
| constexpr int | PADDED_CHUNK_HEIGHT = CHUNK_HEIGHT + 2 |
| constexpr int | PADDED_CHUNK_VOL = PADDED_CHUNK_SIZE * PADDED_CHUNK_HEIGHT * PADDED_CHUNK_SIZE |
Defines the Chunk class representing a localized 3D grid of voxels and its thermal data.
| enum BlockType |
| enum Direction |
| enum FaceDirection |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |