载入中...
搜索中...
未找到
RoadAuthoring.cpp 文件参考
#include "common/Identity.h"
#include "procgen/road/RoadAuthoringInternal.h"
#include "procgen/spline/SplinePath.h"
#include <algorithm>
#include <cmath>
#include <type_traits>
#include <unordered_set>

浏览源代码.

命名空间

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

函数

void eve::procgen::road::detail::reverseSectionGeometry (std::vector< RoadProfilePoint > &section, bool closed)
 Reflect an owning section and preserve outgoing segment semantics.
 
Result< void > eve::procgen::road::detail::validateSection (const std::vector< RoadProfilePoint > &points, bool closed)
 Validate bounded simple section geometry and semantic material tags.
 
Result< void > eve::procgen::road::detail::validateRoadAuthoring (const RoadStyle &style)
 Validate structural intervals and continuous-facility authoring.
 
void eve::procgen::road::detail::reverseRoadAuthoring (RoadStyle &style)
 Reflect section and interval authoring while preserving physical placement.
 
void eve::procgen::road::detail::reverseFacilityPrefab (RoadFacilityPrefab &prefab)
 Reflect an owned prefab into reverse traversal coordinates, including its segment sequence/window.
 
Result< std::pair< RoadStyle, RoadStyle > > eve::procgen::road::detail::splitRoadAuthoring (const RoadEdge &edge, std::size_t pointIndex)
 Clip/remap normalized arc intervals into owning first/second styles.
 
float eve::procgen::road::detail::roadSurfaceHeight (const RoadStyle &style, float lateral)
 Return custom asphalt height at one unscaled driving lateral position.