载入中...
搜索中...
未找到
LinearStructure.h 文件参考
#include "procgen/MeshBuild.h"
#include "procgen/Params.h"
#include <string>

浏览源代码.

命名空间

namespace  eve
 
namespace  eve::procgen
 

函数

bool eve::procgen::generateLinearStructure (const std::string &kind, const Params &params, MeshBuild &out, std::string &error)
 Procedural linear, tileable structures (fences, walls, bridges, the Great Wall, hedges, cheval de frise, ...). Each recipe builds one tileable unit segment from axis-aligned boxes and oriented beams, then repeats it segments times along the X axis so units join seamlessly end-to-end.
 
void eve::procgen::registerLinearStructureRecipes (MeshRecipeRegistry &registry)
 Register all built-in linear structure mesh recipes into a registry.