载入中...
搜索中...
未找到
LinearStructure.h
浏览该文件的文档.
1#pragma once
2
3#include "procgen/MeshBuild.h"
4#include "procgen/Params.h"
5
6#include <string>
7
8namespace eve::procgen {
9
10class MeshRecipeRegistry;
11
28bool generateLinearStructure(const std::string &kind, const Params &params, MeshBuild &out,
29 std::string &error);
30
32void registerLinearStructureRecipes(MeshRecipeRegistry &registry);
33
34} // namespace eve::procgen
Tok kind
std::string error
void registerLinearStructureRecipes(MeshRecipeRegistry &registry)
Register all built-in linear structure mesh recipes into a registry.
bool generateLinearStructure(const std::string &kind, const Params &params, MeshBuild &out, std::string &error)
Procedural linear, tileable structures (fences, walls, bridges, the Great Wall, hedges,...