载入中...
搜索中...
未找到
TilePreset.cpp
浏览该文件的文档.
14constexpr std::array<std::uint16_t, 32> cornerFill = {27, 31, 54, 55, 91, 95, 118, 119, 216, 217, 220,
17constexpr std::array<std::uint16_t, 31> cornerWay = {26, 30, 50, 51, 90, 94, 114, 115, 152, 153, 156,
20constexpr std::array<std::uint16_t, 32> edgeWay = {56, 57, 60, 61, 120, 121, 124, 125, 146, 147, 150,
30 116, 117, 144, 145, 148, 149, 208, 209, 212, 213, 274, 275, 278, 279, 280, 281, 284, 285, 304, 305, 308, 309,
31 338, 339, 342, 343, 344, 345, 348, 349, 368, 369, 372, 373, 400, 401, 404, 405, 464, 465, 468, 469};
34constexpr std::array<std::uint16_t, 32> edgeCornerFill = {59, 62, 123, 126, 155, 159, 182, 183, 218, 222, 246,
44 22, 23, 18, 19, 82, 83, 86, 87, 274, 275, 278, 279, 338, 339, 342, 343, 146, 147, 151, 210, 211, 214,
45 215, 403, 406, 407, 466, 467, 470, 471, 438, 439, 502, 503, 178, 179, 242, 243, 191, 54, 59, 123, 248, 249,
46 252, 253, 315, 379, 55, 118, 310, 311, 374, 375, 26, 30, 90, 94, 119, 282, 286, 346, 507, 254, 250};
47constexpr std::array<std::uint16_t, 51> rotation180 = {48, 49, 52, 53, 112, 113, 116, 117, 304, 305, 308, 309, 368,
Definition EvpackPointGraphLoader.h:12
std::string_view tilePresetKindName(TilePresetKind kind) noexcept
Stable lowercase identifier used in mesh build-layer group names.
Definition TilePreset.cpp:105
@ ThreeCorner
@ EdgeFill
@ ThreeWay
@ CornerWay
@ InteriorCorner
@ EdgeCornerFill
@ CornerFill
@ DoubleCorner
@ ThreeWayFill
std::uint16_t toTilePresetConfiguration(std::uint8_t mask) noexcept
Convert EVEngine's N/E/S/W/NE/SE/SW/NW mask to the reference 3x3 configuration.
Definition TilePreset.cpp:78
TilePresetVariant resolveTilePreset(std::uint8_t mask) noexcept
Resolve the exact TileWorldCreator 4.3.5 standard-grid category and transform tables.
Definition TilePreset.cpp:91
std::vector< RuntimeTensor > single(RuntimeTensor x)
Transfers one owned runtime tensor into an output list. @cost One small container allocation per outp...
Definition OnnxInternal.h:16
Stable build semantics resolved from one eight-neighbour autotile mask.
Definition TilePreset.h:30