dmuratshin 9 years ago
parent
commit
17aa07c738
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/Demo/src/TestDrag.h

+ 3 - 3
examples/Demo/src/TestDrag.h

@@ -32,7 +32,7 @@ public:
         }
         }
     }
     }
 
 
-    void move(const Vector2 &pos)
+    void move(const Vector2& pos)
     {
     {
         Vector2 localPos = stage2local(pos);
         Vector2 localPos = stage2local(pos);
         Vector2 offset = localPos - local;
         Vector2 offset = localPos - local;
@@ -49,11 +49,11 @@ public:
         pointer_index ind = getPressed();
         pointer_index ind = getPressed();
         if (!ind)
         if (!ind)
             return;
             return;
-        PointerState *st = Input::instance.getTouchByIndex(ind);
+        PointerState* st = Input::instance.getTouchByIndex(ind);
         move(_stage->parent2local(st->getPosition()));
         move(_stage->parent2local(st->getPosition()));
     }
     }
 
 
-    
+