Why does the Corridor draw incorrectly in certain cases

Typed this into SandCastle.
Polyline looks correct, but the corridor using the same points does not.



This is definitely a bug, thanks for reporting it. I opened a pull request with the fix: https://github.com/AnalyticalGraphicsInc/cesium/pull/2626 It will be in Cesium 1.9 on May 1st, but feel free to make the change locally or build and use the branch if you need it sooner.