(ScrollView) Remove unused functions 27/27727/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 18 Sep 2014 09:12:02 +0000 (10:12 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 18 Sep 2014 09:12:02 +0000 (10:12 +0100)
Change-Id: I68fe5bbd7e996c1c6403f630d20f4f405930afc9

base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp

index ccf141a..ff6fbb9 100644 (file)
@@ -72,27 +72,6 @@ const Vector2 ANGLE_OUTER_CUBE_SWING(Math::PI * 0.5f, Math::PI * 0.5f);  ///< ou
 
 // Helpers ////////////////////////////////////////////////////////////////////////////////////////
 
-// TODO: GetAngle for Vector2 can be moved.
-// GetAngle for Vector3 needs to be measured against a normal/plane.
-
-/**
- * @param[in] vector The 3D vector to be measured
- * @return angle in radians from 0 to 2PI
- */
-float GetAngle(const Vector3& vector)
-{
-  return atan2(vector.y, vector.x) + Math::PI;
-}
-
-/**
- * @param[in] vector The 2D vector to be measured
- * @return angle in radians from 0 to 2PI
- */
-float GetAngle(const Vector2& vector)
-{
-  return atan2(vector.y, vector.x) + Math::PI;
-}
-
 /**
  * Find the vector (distance) from (a) to (b)
  * in domain (start) to (end)