载入中...
搜索中...
未找到
HexMap.h 文件参考

Editable hex cell grid: topology, queries, picking and authoring. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "hexmap/HexCell.h"
#include "hexmap/HexCoordinates.h"
#include "hexmap/HexMetrics.h"
#include "hexmap/HexNoise.h"
#include <cstdint>
#include <vector>

浏览源代码.

类

struct  eve::hexmap::HexSurfaceId
 Stable identifier of one chunk surface stream. 更多...
 
class  eve::hexmap::HexMap
 An editable, chunked, pointy-top hex map. 更多...
 

命名空间

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

枚举

enum class  eve::hexmap::HexSurface : std::int32_t {
  eve::hexmap::Terrain = 0 , eve::hexmap::Water = 1 , eve::hexmap::River = 2 , eve::hexmap::Road = 3 ,
  eve::hexmap::Fog = 4 , eve::hexmap::Wall = 5 , eve::hexmap::Feature = 6
}
 Surface streams a chunk mesh is generated for. 更多...
 

变量

constexpr std::int32_t eve::hexmap::kHexSurfaceCount = 7
 Number of chunk surface streams.
 
constexpr std::int32_t eve::hexmap::kMaxHexGridDimension = 512
 Largest grid edge, in cells, any entry point may request.
 

详细描述

Editable hex cell grid: topology, queries, picking and authoring.

在文件 HexMap.h 中定义.