载入中...
搜索中...
未找到
CaveDepositAnchoring.cpp 文件参考
#include "procgen/algorithms/CaveDepositAnchoring.h"
#include <algorithm>
#include <cmath>

浏览源代码.

命名空间

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

函数

std::optional< CaveVerticalSpan > eve::procgen::findCaveVerticalSpan (const std::vector< float > &density, int nx, int ny, int nz, float x, float z, float preferredY)
 Finds the first connected cave-air interval intersected by a vertical ray.
 
std::optional< CaveSurfaceAnchor > eve::procgen::projectToFinalCaveSurface (const std::vector< float > &density, int nx, int ny, int nz, CaveFieldPoint point, float maximumDistance)
 Projects a nearby field-space point to the final cave zero isosurface.