planet classes : cube to sphere