Why not just a half-transparent sprite that always follows the planet, and the origin pixel always faces the sun sprite? (the origin pixel would have to be on the light side, of course.)
Code:
void main()
{
cout << "I am MrCode,";
cout << "hear me roar!";
system("PAUSE");
}