X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fshader-effects%2Fshear-effect.h;h=bb0900b1d6d9e44894ff5835d2d32e19c42accff;hb=49557ae728fe830bf27a23ab230d72294b3a1a39;hp=edea72e376a5cd848e60a024296701af5006271d;hpb=31df2b9472ccbe0ae460a958535be8ef790c96f2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/shader-effects/shear-effect.h b/dali-toolkit/devel-api/shader-effects/shear-effect.h index edea72e..bb0900b 100644 --- a/dali-toolkit/devel-api/shader-effects/shear-effect.h +++ b/dali-toolkit/devel-api/shader-effects/shear-effect.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_SHEAR_EFFECT_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ */ // EXTERNAL INCLUDES -#include +#include namespace Dali { @@ -49,14 +49,14 @@ inline ShaderEffect CreateShearEffect() "\n" "void main()\n" "{\n" - "mediump vec4 world = uModelView * vec4(aPosition,1.0);\n" + "mediump vec4 world = uModelView * vec4(aPosition, 1.0);\n" "\n" "world.x = world.x + tan(radians(uAngleXAxis)) * (world.y - uCenter.y * world.w);\n" "world.y = world.y + tan(radians(uAngleYAxis)) * (world.x - uCenter.x * world.w);\n" "\n" "gl_Position = uProjection * world;\n" "\n" - "vTexCoord = aTexCoord;\n" + "vTexCoord = mix( sTextureRect.xy, sTextureRect.zw, aTexCoord );\n" "}" ); // Create the implementation, temporarily owned on stack,