载入中...
搜索中...
未找到
HexFeatures.cpp 文件参考

Walls, towers, bridges and decorations of one hex chunk. 更多...

#include "hexmap/HexFeatures.h"
#include "hexmap/HexCell.h"
#include "hexmap/HexCoordinates.h"
#include "hexmap/HexMap.h"
#include "hexmap/HexMeshData.h"
#include "hexmap/HexMetrics.h"
#include "hexmap/HexNoise.h"
#include <cmath>
#include <cstdint>

浏览源代码.

命名空间

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

函数

float eve::hexmap::featureThreshold (std::int32_t level, std::int32_t index) noexcept
 Feature-placement thresholds of the reference project.
 
void eve::hexmap::buildWallMesh (const HexMap &map, std::int32_t chunkIndex, HexMeshData &out)
 Builds the wall and bridge geometry of one chunk.
 
void eve::hexmap::buildFeatureMesh (const HexMap &map, std::int32_t chunkIndex, HexMeshData &out)
 Builds the urban, farm, plant and special decorations of one chunk.
 

详细描述

Walls, towers, bridges and decorations of one hex chunk.

在文件 HexFeatures.cpp 中定义.