载入中...
搜索中...
未找到
Chunk.h 文件参考
#include "voxel/CubeTypeRegistry.h"
#include "voxel/FaceDir.h"
#include "voxel/GreedyMesher.h"
#include "voxel/VoxelPack.h"
#include <cstdint>
#include <cstring>
#include <vector>

浏览源代码.

class  eve::voxel::Chunk
 One 32³ voxel chunk with six direction-sorted packed-rect instance buffers. Coordinates: chunk (cx,cy,cz) → world origin (cx*32, cy*32, cz*32). 更多...
 

命名空间

namespace  eve
 
namespace  eve::voxel
 方块类型定义:名字、各面图集纹理、方向性、组合声明。 方向性方块在注册时按 orientation 绕 Y 轴展开成多个"具体类型"变体, 每个变体持有旋转后的各面纹理;渲染端只消费纹理 id,不接触 orientation。