Quellcode durchsuchen

Remove spaces.[ci skip]

aster2013 vor 11 Jahren
Ursprung
Commit
6dea2d78f6
1 geänderte Dateien mit 2 neuen und 5 gelöschten Zeilen
  1. 2 5
      Source/Engine/UIX/UIImage.cpp

+ 2 - 5
Source/Engine/UIX/UIImage.cpp

@@ -420,11 +420,9 @@ void UIImage::UpdateVerticesFilledMode()
 void UIImage::UpdateVerticesFilledModeRadial()
 {
     float angle = 360.0f * fillAmount_;
-
-    // When angle too small
     if (angle < 1.0f)
         return;
-
+    
     float x = uiRect_->GetX();
     float y = uiRect_->GetY();
     float left = uiRect_->GetLeft();
@@ -463,7 +461,7 @@ void UIImage::UpdateVerticesFilledModeRadial()
     // 2----1----5
     // | \a1|   /|
     // |  \ | /  |
-    // |    0    | 
+    // |    0    |
     // |  /   \  |
     // |/       \|
     // 3---------4
@@ -562,7 +560,6 @@ void UIImage::AddQuad(float left, float right, float top, float bottom, float uL
     if (right - left <= 0.005f || top - bottom <= 0.005f)
         return;
 
-    
     // V1---------V2
     // |         / |
     // |       /   |