AnalyticalGraphicsInc/cesium — pull request #108 by mramato (2012-07-14 02:18:08+00:00)
Title: Finish implementation of Cartesian4

1. All prototype functions now have static equivalents.
2. All functions now do proper error checking.
3. All functions no longer require Cartesian4 instances and instead will work with any object that has an x, y, z, and w properties.
4. All functions that produce a Cartesian4 now take an optional result parameter.
5. Code coverage for Cartesian4 is now 100%
6. Remove Math.angleBetween because it already exists on the Cartesian functions.

These changes are related to issues #71, #84, #86 (those issues will remain open until we address them for every Core type).