AnalyticalGraphicsInc/cesium — pull request #151 by bagnell (2012-08-08 22:01:03+00:00)
Title: Fix max orthographic frustum computations in Camera2DController.

If the `Camera2DController` was added after a `scene.viewExtent`, the camera can get stuck there. For example:

```javascript
var transitioner = new Cesium.SceneTransitioner(scene, ellipsoid);

var west = Cesium.Math.toRadians(-77.0);
var south = Cesium.Math.toRadians(38.0);
var east = Cesium.Math.toRadians(-72.0);
var north = Cesium.Math.toRadians(42.0);

var extent = new Cesium.Extent(west, south, east, north);
transitioner.to2D();
scene.getCamera().getControllers().removeAll();
scene.viewExtent(extent, ellipsoid);
scene.getCamera().getControllers().add2D(scene.scene2D.projection);
```

Fixed by computing the max frustum, instead of using the current frustum.