载入中...
搜索中...
未找到
LSystemMesh.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
13void registerLSystemRecipes(MeshRecipeRegistry& registry);
14
16bool generateLSystemMesh(const Params& params, MeshBuild& out, std::string& error);
17
18} // namespace eve::procgen
std::string error
Definition Package.cpp:60
std::vector< ParamSpec > params
bool generateLSystemMesh(const Params &params, MeshBuild &out, std::string &error)
Build a grammar-based tree/plant mesh from Params.
void registerLSystemRecipes(MeshRecipeRegistry &registry)
Register the mesh.lsystem grammar-based plant recipe.