(Animated Shapes) Restore yellow colour for top shape 62/242362/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 25 Aug 2020 19:18:32 +0000 (20:18 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 25 Aug 2020 19:26:34 +0000 (20:26 +0100)
Change-Id: Ifefe4a02203878d1011ee5a5948615e68ae15ba6

examples/animated-shapes/animated-shapes-example.cpp

index 37349f2..d074ad3 100644 (file)
@@ -210,7 +210,7 @@ public:
     actor[Actor::Property::SIZE ] = Vector2( 400.0f, 400.0f );
     actor[Actor::Property::POSITION ] = center;
     actor[Actor::Property::ANCHOR_POINT] = AnchorPoint::CENTER;
-    actor[Actor::Property::COLOR] = Color::WHITE;
+    actor[Actor::Property::COLOR] = Color::YELLOW;
     actor.AddRenderer( renderer );
 
     Window window = mApplication.GetWindow();
@@ -259,7 +259,7 @@ public:
     shader["uPosition[11]"] = Vector3( -radius, -radius, 0.0f );
 
     shader["uPosition[12]"] = Vector3( -radius, -radius, 0.0f );
-    shader["uPosition[13]"] =  Vector3( radius, -radius, 0.0f );
+    shader["uPosition[13]"] = Vector3( radius, -radius, 0.0f );
     shader["uPosition[14]"] = Vector3( radius, radius, 0.0f );
     shader["uPosition[15]"] = Vector3( -radius, radius, 0.0f );
 
@@ -403,7 +403,7 @@ public:
     actor[Actor::Property::SIZE] = Vector2( 400.0f, 400.0f );
     actor[Actor::Property::POSITION] = center;
     actor[Actor::Property::ANCHOR_POINT] = AnchorPoint::CENTER;
-    actor[Actor::Property::COLOR] = Vector4(1.0f,0.0f,0.0f,1.0f);
+    actor[Actor::Property::COLOR] = Color::RED;
     actor.AddRenderer( renderer );
 
     Window window = mApplication.GetWindow();