From 1dd15421061ecdffe0e86ccbefc3db08ad432bf9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 17 Mar 2020 20:39:26 -0400 Subject: [PATCH] CLight: Remove unnecessary initializer list initializers These are already initialized within the class definition, so they don't need to be respecified here. --- Runtime/Graphics/CLight.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Runtime/Graphics/CLight.cpp b/Runtime/Graphics/CLight.cpp index bea0df8b9..ca06a06f5 100644 --- a/Runtime/Graphics/CLight.cpp +++ b/Runtime/Graphics/CLight.cpp @@ -50,16 +50,12 @@ CLight::CLight(const zeus::CVector3f& pos, const zeus::CVector3f& dir, const zeu : x0_pos(pos) , xc_dir(dir) , x18_color(color) -, x1c_type(ELightType::Custom) -, x20_spotCutoff(0.f) , x24_distC(distC) , x28_distL(distL) , x2c_distQ(distQ) , x30_angleC(angleC) , x34_angleL(angleL) , x38_angleQ(angleQ) -, x44_cachedRadius(0.f) -, x48_cachedIntensity(0.f) , x4c_24_intensityDirty(true) , x4c_25_radiusDirty(true) {} @@ -70,14 +66,6 @@ CLight::CLight(ELightType type, const zeus::CVector3f& pos, const zeus::CVector3 , x18_color(color) , x1c_type(type) , x20_spotCutoff(cutoff) -, x24_distC(1.f) -, x28_distL(0.f) -, x2c_distQ(0.f) -, x30_angleC(1.f) -, x34_angleL(0.f) -, x38_angleQ(0.f) -, x44_cachedRadius(0.f) -, x48_cachedIntensity(0.f) , x4c_24_intensityDirty(true) , x4c_25_radiusDirty(true) { switch (type) {