2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 14:27:42 +00:00

CCollisionEdge: Make constructors constexpr

Makes the default and non-stream iterator constexpr, which allows for
elimination of a runtime initializer.
This commit is contained in:
Lioncash
2020-04-05 06:44:47 -04:00
parent af6e3b21f8
commit a952ff1110
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ constexpr std::array<u8, 12> DefaultSurfaceMaterials{
0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,
};
const std::array<CCollisionEdge, 18> DefaultEdges{{
constexpr std::array<CCollisionEdge, 18> DefaultEdges{{
{4, 1},
{1, 5},
{5, 4},