Pārlūkot izejas kodu

better variable name

mriegger 4 gadi atpakaļ
vecāks
revīzija
114e0d9c25
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      Gem/Code/Source/DecalExampleComponent.cpp

+ 2 - 2
Gem/Code/Source/DecalExampleComponent.cpp

@@ -87,8 +87,8 @@ namespace AtomSampleViewer
 
     void DecalExampleComponent::ScaleObjectToFitDecals()
     {
-        const AZ::Transform doubleSize = AZ::Transform::CreateScale(AZ::Vector3(4.0f, 1.0f, 1.0f));
-        GetMeshFeatureProcessor()->SetTransform(m_meshHandle, doubleSize);
+        const AZ::Transform transform = AZ::Transform::CreateScale(AZ::Vector3(4.0f, 1.0f, 1.0f));
+        GetMeshFeatureProcessor()->SetTransform(m_meshHandle, transform);
     }
 
     void DecalExampleComponent::Deactivate()