Remove dead constraint function from GaussianBlurView 49/49449/1
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 13 Oct 2015 09:51:54 +0000 (10:51 +0100)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 13 Oct 2015 09:51:54 +0000 (10:51 +0100)
Change-Id: I1c71f35a99d3263de0348b605f88cd56f6a5deea

dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.cpp

index 5da61104823948f86bbbc935ceda8d9aabb23cb6..ddbb2427ca592642a731bc64d75b236c895b6496 100644 (file)
@@ -326,32 +326,6 @@ void GaussianBlurView::OnInitialize()
 }
 
 
-/**
- * ZrelativeToYconstraint
- *
- * f(current, property, scale) = Vector3(current.x, current.y, property.y * scale)
- */
-struct ZrelativeToYconstraint
-{
-  ZrelativeToYconstraint( float scale )
-    : mScale( scale )
-  {}
-
-  Vector3 operator()(const Vector3&    current,
-                     const PropertyInput& property)
-  {
-    Vector3 v;
-
-    v.x = current.x;
-    v.y = current.y;
-    v.z = property.GetVector3().y * mScale;
-
-    return v;
-  }
-
-  float mScale;
-};
-
 void GaussianBlurView::OnSizeSet(const Vector3& targetSize)
 {
   mTargetSize = Vector2(targetSize);