Merge "Remove dead constraint function from GaussianBlurView" into devel/master
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 13 Oct 2015 10:55:16 +0000 (03:55 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 13 Oct 2015 10:55:16 +0000 (03:55 -0700)
dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.cpp

index 5da6110..ddbb242 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);