载入中...
搜索中...
未找到
RoadTerrain.cpp 文件参考
#include "procgen/road/RoadBake.h"
#include "common/Diagnostic.h"
#include "procgen/heightmap/Heightmap.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <limits>
#include <string>
#include <utility>
#include <vector>

浏览源代码.

命名空间

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

函数

EVENGINE_API_DOMAINS Result< RoadTerrainConformReceipt > eve::procgen::road::conformHeightmapToRoadWithReceipt (Heightmap &terrain, const MeshBuild &roadMesh, const RoadTerrainConformOptions &options={})
 Atomically conform terrain and return the exact reversible sample delta.
 
EVENGINE_API_DOMAINS Result< int > eve::procgen::road::conformHeightmapToRoad (Heightmap &terrain, const MeshBuild &roadMesh, const RoadTerrainConformOptions &options={})
 Atomically conform a heightmap to nearby baked road surface triangles.
 
EVENGINE_API_DOMAINS Result< int > eve::procgen::road::restoreHeightmapFromRoad (Heightmap &terrain, const RoadTerrainConformReceipt &receipt)
 Atomically restore a conformance receipt if none of its samples became stale.