载入中...
搜索中...
未找到
RoadRailway.cpp 文件参考
#include "procgen/road/RoadRailway.h"
#include "common/Diagnostic.h"
#include <array>
#include <cmath>

浏览源代码.

命名空间

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

函数

Result< RoadStyle > eve::procgen::road::makeRailwayStyle (int tracks=1)
 Build a procedural railway edge style (ballast bed, rails, sleepers).
 
Result< void > eve::procgen::road::applyRailwayRoadType (RoadNetwork &network, int tracks=1)
 Rewrite every edge to a railway style while preserving bridge/tunnel intervals.