载入中...
搜索中...
未找到
RoadSampling.cpp 文件参考
#include <algorithm>
#include <cmath>
#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< std::vector< SplineFrameSample > > eve::procgen::road::detail::sampleRoadFrames (const SplinePath &path, const RoadEdge &edge, const RoadBakeOptions &options, float length, std::size_t &samplingWork)
 Module-private bounded sampling; zero metric spacing retains explicit fixed interval counts.
 
ResultRef< const std::vector< SplineFrameSample > > eve::procgen::road::detail::prepareRoadFrames (RoadFrameCache &cache, const SplinePath &path, const RoadEdge &edge, const RoadBakeOptions &options, float length)
 Prepare once per immutable edge/options snapshot. Borrowed result expires with cache destruction. Synchronous bake-owner thread only. At most 4097 frames per edge; scan work shares the network budget.