Browse Source

Remove end-line spaces

Urho3D[bot] 3 years ago
parent
commit
d2f00e144d

+ 1 - 1
Source/Urho3D/Graphics/SpriteBatch.cpp

@@ -113,7 +113,7 @@ void SpriteBatch::DrawSpriteInternal()
     {
         // Сдвигаем спрайт на -origin
         Rect resultDest(sprite_.destination_.min_ - sprite_.origin_, sprite_.destination_.max_ - sprite_.origin_);
-        
+
         // Лицевая грань задаётся по часовой стрелке. Учитываем, что ось Y направлена вниз.
         // Но нет большой разницы, так как спрайты двусторонние
         quad_.v0_.position_ = Vector3(resultDest.min_.x_, resultDest.min_.y_, 0); // Верхний левый угол спрайта

+ 2 - 2
Source/Urho3D/Graphics/SpriteBatch.h

@@ -29,7 +29,7 @@ class URHO3D_API SpriteBatch : public SpriteBatchBase
     URHO3D_OBJECT(SpriteBatch, SpriteBatchBase);
 
     // ============================ Рисование фигур с помощью функции AddTriangle() ============================
- 
+
 public:
 
     void DrawTriangle(const Vector2& v0, const Vector2& v1, const Vector2& v2);
@@ -40,7 +40,7 @@ public:
     void DrawAABBSolid(const Vector2& min, const Vector2& max);
     void DrawAABoxSolid(const Vector2& centerPos, const Vector2& halfSize);
     void DrawAABoxSolid(float centerX, float centerY, float halfWidth, float halfHeight);
-    
+
     void DrawCircle(const Vector2& centerPos, float radius);
     void DrawCircle(float centerX, float centerY, float radius);
 

+ 1 - 1
Source/Urho3D/Graphics/SpriteBatchBase.cpp

@@ -141,7 +141,7 @@ using GpuIndex16 = u16;
 SpriteBatchBase::SpriteBatchBase(Context* context) : Object(context)
 {
     graphics_ = GetSubsystem<Graphics>();
-    
+
     qIndexBuffer_ = new IndexBuffer(context_);
     qIndexBuffer_->SetShadowed(true);