AnalyticalGraphicsInc/cesium — pull request #251 by pjcozzi (2012-09-20 20:33:57+00:00)
Title: ShaderProgram cleanup

This cleans up the implementation of `ShaderProgram` a bit. In particular, `ShaderProgram` now uses prototype functions (this is some of the oldest code in Cesium so when I first wrote it I created all the functions in the constructor function and accessed members through closures).

Although github does not show the diff, most of the changes are in ShaderProgram.js.

There are no changes to the public interface.

This file still needs more cleanup, but the show must go on.