Commit b2ea1966ee0d928bc27512daa6ea12a62a4d6c94

Authored by Adeel Kazmi
1 parent a284a43f

(Animated Shapes) Restore yellow colour for top shape

Change-Id: Ifefe4a02203878d1011ee5a5948615e68ae15ba6
examples/animated-shapes/animated-shapes-example.cpp
@@ -210,7 +210,7 @@ public: @@ -210,7 +210,7 @@ public:
210 actor[Actor::Property::SIZE ] = Vector2( 400.0f, 400.0f ); 210 actor[Actor::Property::SIZE ] = Vector2( 400.0f, 400.0f );
211 actor[Actor::Property::POSITION ] = center; 211 actor[Actor::Property::POSITION ] = center;
212 actor[Actor::Property::ANCHOR_POINT] = AnchorPoint::CENTER; 212 actor[Actor::Property::ANCHOR_POINT] = AnchorPoint::CENTER;
213 - actor[Actor::Property::COLOR] = Color::WHITE; 213 + actor[Actor::Property::COLOR] = Color::YELLOW;
214 actor.AddRenderer( renderer ); 214 actor.AddRenderer( renderer );
215 215
216 Window window = mApplication.GetWindow(); 216 Window window = mApplication.GetWindow();
@@ -259,7 +259,7 @@ public: @@ -259,7 +259,7 @@ public:
259 shader["uPosition[11]"] = Vector3( -radius, -radius, 0.0f ); 259 shader["uPosition[11]"] = Vector3( -radius, -radius, 0.0f );
260 260
261 shader["uPosition[12]"] = Vector3( -radius, -radius, 0.0f ); 261 shader["uPosition[12]"] = Vector3( -radius, -radius, 0.0f );
262 - shader["uPosition[13]"] = Vector3( radius, -radius, 0.0f ); 262 + shader["uPosition[13]"] = Vector3( radius, -radius, 0.0f );
263 shader["uPosition[14]"] = Vector3( radius, radius, 0.0f ); 263 shader["uPosition[14]"] = Vector3( radius, radius, 0.0f );
264 shader["uPosition[15]"] = Vector3( -radius, radius, 0.0f ); 264 shader["uPosition[15]"] = Vector3( -radius, radius, 0.0f );
265 265
@@ -403,7 +403,7 @@ public: @@ -403,7 +403,7 @@ public:
403 actor[Actor::Property::SIZE] = Vector2( 400.0f, 400.0f ); 403 actor[Actor::Property::SIZE] = Vector2( 400.0f, 400.0f );
404 actor[Actor::Property::POSITION] = center; 404 actor[Actor::Property::POSITION] = center;
405 actor[Actor::Property::ANCHOR_POINT] = AnchorPoint::CENTER; 405 actor[Actor::Property::ANCHOR_POINT] = AnchorPoint::CENTER;
406 - actor[Actor::Property::COLOR] = Vector4(1.0f,0.0f,0.0f,1.0f); 406 + actor[Actor::Property::COLOR] = Color::RED;
407 actor.AddRenderer( renderer ); 407 actor.AddRenderer( renderer );
408 408
409 Window window = mApplication.GetWindow(); 409 Window window = mApplication.GetWindow();