载入中...
搜索中...
未找到
GtsMeshSplitter.h 文件参考
#include "common/Result.h"
#include "procgen/MeshBuild.h"
#include <memory>
#include <vector>

浏览源代码.

类

struct  eve::procgen::GtsMeshSplitTile
 One row-major GTS mesh cell and the world offset restoring its source position. 更多...
 
class  eve::procgen::GtsMeshSplitResult
 Owned row-major result of a GTS X/Z plane split. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 

枚举

enum class  eve::procgen::GtsMeshPivot { eve::procgen::None =0 , eve::procgen::MinimumXZ =1 , eve::procgen::CenterXZ =2 }
 Pivot translation applied independently to each GTS split mesh. 更多...
 

函数

Result< GtsMeshSplitResult > eve::procgen::splitGtsMesh (const MeshBuild &source, int xSplits, int zSplits, GtsMeshPivot pivot=GtsMeshPivot::None)
 Split every source triangle against a regular X/Z grid like GTSMeshSplitter.
 
Result< void > eve::procgen::splitGtsMeshInto (GtsMeshSplitResult &output, const MeshBuild &source, int xSplits, int zSplits, GtsMeshPivot pivot=GtsMeshPivot::None)
 Atomically replace an owned result with a GTS mesh split.