Commit b2ea1966ee0d928bc27512daa6ea12a62a4d6c94
1 parent
a284a43f
(Animated Shapes) Restore yellow colour for top shape
Change-Id: Ifefe4a02203878d1011ee5a5948615e68ae15ba6
Showing
1 changed file
with
3 additions
and
3 deletions
examples/animated-shapes/animated-shapes-example.cpp
| ... | ... | @@ -210,7 +210,7 @@ public: |
| 210 | 210 | actor[Actor::Property::SIZE ] = Vector2( 400.0f, 400.0f ); |
| 211 | 211 | actor[Actor::Property::POSITION ] = center; |
| 212 | 212 | actor[Actor::Property::ANCHOR_POINT] = AnchorPoint::CENTER; |
| 213 | - actor[Actor::Property::COLOR] = Color::WHITE; | |
| 213 | + actor[Actor::Property::COLOR] = Color::YELLOW; | |
| 214 | 214 | actor.AddRenderer( renderer ); |
| 215 | 215 | |
| 216 | 216 | Window window = mApplication.GetWindow(); |
| ... | ... | @@ -259,7 +259,7 @@ public: |
| 259 | 259 | shader["uPosition[11]"] = Vector3( -radius, -radius, 0.0f ); |
| 260 | 260 | |
| 261 | 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 | 263 | shader["uPosition[14]"] = Vector3( radius, radius, 0.0f ); |
| 264 | 264 | shader["uPosition[15]"] = Vector3( -radius, radius, 0.0f ); |
| 265 | 265 | |
| ... | ... | @@ -403,7 +403,7 @@ public: |
| 403 | 403 | actor[Actor::Property::SIZE] = Vector2( 400.0f, 400.0f ); |
| 404 | 404 | actor[Actor::Property::POSITION] = center; |
| 405 | 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 | 407 | actor.AddRenderer( renderer ); |
| 408 | 408 | |
| 409 | 409 | Window window = mApplication.GetWindow(); | ... | ... |