Hi,
In case anyone else is trying to sync up to the latest terrain branch
commits, there is a minor tweak required in the terrain providers
changing fromPointsAsFlatArray() to fromVertices() as per this commit
[0].
Cheers,
Chris
[0] https://github.com/AnalyticalGraphicsInc/cesium/commit/1d2e63684ad2aeb79b1ca8805d45b70e0f5ddb18