Browse Source

Remove spaces.[ci skip]

aster2013 11 years ago
parent
commit
6dea2d78f6
1 changed files with 2 additions and 5 deletions
  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()
 void UIImage::UpdateVerticesFilledModeRadial()
 {
 {
     float angle = 360.0f * fillAmount_;
     float angle = 360.0f * fillAmount_;
-
-    // When angle too small
     if (angle < 1.0f)
     if (angle < 1.0f)
         return;
         return;
-
+    
     float x = uiRect_->GetX();
     float x = uiRect_->GetX();
     float y = uiRect_->GetY();
     float y = uiRect_->GetY();
     float left = uiRect_->GetLeft();
     float left = uiRect_->GetLeft();
@@ -463,7 +461,7 @@ void UIImage::UpdateVerticesFilledModeRadial()
     // 2----1----5
     // 2----1----5
     // | \a1|   /|
     // | \a1|   /|
     // |  \ | /  |
     // |  \ | /  |
-    // |    0    | 
+    // |    0    |
     // |  /   \  |
     // |  /   \  |
     // |/       \|
     // |/       \|
     // 3---------4
     // 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)
     if (right - left <= 0.005f || top - bottom <= 0.005f)
         return;
         return;
 
 
-    
     // V1---------V2
     // V1---------V2
     // |         / |
     // |         / |
     // |       /   |
     // |       /   |