using UnityEngine;
using System.Collections;

public class EarthRotation : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () 
	{
		float elapsed = Time.realtimeSinceStartup;
		Quaternion q = Quaternion.Euler(new Vector3(23.5f, elapsed / 10 * 360, 0));
		gameObject.transform.rotation = q;
	}
}
