Core: Make Color constexpr

This commit is contained in:
SirLynix
2022-12-29 12:13:00 +01:00
parent 3d88746060
commit 9a553e5e9d
38 changed files with 227 additions and 222 deletions

View File

@@ -481,7 +481,7 @@ std::shared_ptr<Nz::SubMesh> ProcessSubMesh(const std::filesystem::path& originP
else
{
for (unsigned int vertexIndex = 0; vertexIndex < vertexCount; ++vertexIndex)
*colorPtr++ = Nz::Color::White;
*colorPtr++ = Nz::Color::White();
}
}