HPC_Voxel_Engine 0.2.0
High-Performance C++ Voxel Engine
Loading...
Searching...
No Matches
Macros
Chunk.cpp File Reference

Implementation of Chunk meshing, physics colliders, and thermal diffusion integration. More...

#include <cstdlib>
#include <algorithm>
#include <cstring>
#include <iostream>
#include "Chunk.h"
Include dependency graph for Chunk.cpp:

Macros

#define ALLOCATE_ALIGNED(size, alignment)   std::aligned_alloc((alignment), (size))
 
#define FREE_ALIGNED(ptr)   std::free(ptr)
 

Detailed Description

Implementation of Chunk meshing, physics colliders, and thermal diffusion integration.

Macro Definition Documentation

◆ ALLOCATE_ALIGNED

#define ALLOCATE_ALIGNED (   size,
  alignment 
)    std::aligned_alloc((alignment), (size))

◆ FREE_ALIGNED

#define FREE_ALIGNED (   ptr)    std::free(ptr)