AnalyticalGraphicsInc/cesium — pull request #60 by shunter (2012-06-05 19:30:23+00:00)
Title: Scene state and camera refactoring.

SceneState is now a class with documented properties. Added camera to SceneState, removed
camera from CentralBody constructor. Removed the need for a separate state object in CentralBody.update.
Added morphTime to Scene and SceneState, and remove the code in SceneTransitioner that updated morphTime
in all primitives. Added functions to Camera to get position/direction/up/right in world coordinates.
Refactored Camera.update to only recompute values that have changed based on dependent values.