载入中...
搜索中...
未找到
RoadPlacementTerrain.cpp 文件参考
#include <algorithm>
#include <cmath>
#include <limits>
#include "common/ProcgenWorldQuery.h"
#include "procgen/road/RoadBakeInternal.h"

浏览源代码.

命名空间

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

函数

Result< V3 > eve::procgen::road::detail::sideTerrainNormal (eve::IProcgenWorldQuery &query, float x, float z, const RoadBakeOptions &options, std::size_t &work)
 Borrow the center surface normal with the same network-wide projection budget; no retained provider.
 
Result< float > eve::procgen::road::detail::sideTerrainHeight (const RoadSideTerrainRule &rule, eve::IProcgenWorldQuery &query, float x, float z, const ProcgenPoint &pose, const std::array< float, 6 > *assetBounds, const RoadBakeOptions &options, std::size_t &work)
 Bounded height-only projection; provider and options are borrowed synchronously, no callbacks retained.