AnalyticalGraphicsInc/cesium — pull request #186 by mramato (2012-08-28 19:15:44+00:00)
Title: BoundingRectangle and BoundingSphere cleanup.

This started out as a small change to make the `fromXXX` functions of BoundingSphere and BoundingRectangle return zero-valued versions rather than throwing; (which was causing problems when transitioning scenes); however I ended up doing a large scale cleanup of the code to bring it and its tests in line with other core types.

1. Cleanup documentation and add missing attributes
2. Bring test up to 100% coverage and test edge cases.
3. Some functions were missing result parameters
4. Remove unused AMD imports
5. Use scratch variables to reduce memory pressure.
6. `fromXXX` functions now return zero-value versions instead of throwing.

The diff makes the changes look way bigger than they actually are, it's probably easier to just open the file and look over them since they are small.