VOX
A little voxel engine
Loading...
Searching...
No Matches
Chunk.cpp File Reference
#include "Chunk.hpp"
#include "logger.hpp"
#include <cstring>
Include dependency graph for Chunk.cpp:

Functions

glm::ivec3 getChunkPos (const glm::ivec3 &block_pos)
 
glm::ivec3 getBlockChunkPos (const glm::ivec3 &block_pos)
 

Function Documentation

◆ getBlockChunkPos()

glm::ivec3 getBlockChunkPos ( const glm::ivec3 &  block_pos)

◆ getChunkPos()

glm::ivec3 getChunkPos ( const glm::ivec3 &  block_pos)