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:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user