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

@@ -11,7 +11,7 @@ namespace Nz
{
inline PointLight::PointLight() :
Light(SafeCast<UInt8>(BasicLightType::Point)),
m_color(Color::White),
m_color(Color::White()),
m_position(Vector3f::Zero()),
m_ambientFactor(0.2f),
m_diffuseFactor(1.f)