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

浏览源代码.

命名空间

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

函数

const char * eve::procgen::road::roadMaterialGroup (RoadMaterial material) noexcept
 Map a material tag to the MeshBuild group name used by the baker. @ownership borrowed — returns a pointer to a static string literal; callers must not free it. @lifetime Program lifetime; the pointer remains valid for the process.
 
Result< RoadProfile > eve::procgen::road::makeRoadProfile (const RoadStyle &style, int lanesForward, int lanesBackward)
 Build a mathematical road cross-section for the given lane counts.