- renderTask.SetFrameBuffer( fb );
- renderTask.SetSourceActor( renderTaskSourceActor );
- renderTask.SetViewport( Rect<int>(0, 0, windowWidth, windowHeight ) );
- renderTask.SetCameraActor( cameraRefActor );
- renderTask.SetClearColor( Color::BLACK );
- renderTask.SetClearEnabled( true );
- renderTask.SetExclusive( false );
-
- mAnimation = Animation::New(30.0f );
- mAnimation.AnimateBy(Property(solarActor, Actor::Property::ORIENTATION ),
- Quaternion( Degree(359), Vector3(0.0, 1.0, 0.0)));
- mAnimation.AnimateBy(Property(milkyway, Actor::Property::ORIENTATION ),
- Quaternion( Degree(-359), Vector3(0.0, 1.0, 0.0)));
- mAnimation.SetLooping(true );
+ renderTask.SetFrameBuffer(fb);
+ renderTask.SetSourceActor(renderTaskSourceActor);
+ renderTask.SetViewport(Rect<int>(0, 0, windowWidth, windowHeight));
+ renderTask.SetCameraActor(cameraRefActor);
+ renderTask.SetClearColor(Color::BLACK);
+ renderTask.SetClearEnabled(true);
+ renderTask.SetExclusive(false);
+
+ mAnimation = Animation::New(30.0f);
+ mAnimation.AnimateBy(Property(solarActor, Actor::Property::ORIENTATION),
+ Quaternion(Degree(359), Vector3(0.0, 1.0, 0.0)));
+ mAnimation.AnimateBy(Property(milkyway, Actor::Property::ORIENTATION),
+ Quaternion(Degree(-359), Vector3(0.0, 1.0, 0.0)));
+ mAnimation.SetLooping(true);