载入中...
搜索中...
未找到
Voxel.cpp 文件参考
#include "voxel/Voxel.h"
#include "voxel/FaceDir.h"
#include "data/ByteData.h"
#include "procgen/heightmap/TerrainSampler.h"
#include <simplesquirrel/simplesquirrel.hpp>
#include <functional>

浏览源代码.

命名空间

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

函数

 eve::voxel::Module_IMPL (Voxel, new Voxel())