I'm using the latest version of Cesium, and I'm looking to see if i could replicate the measure function produced by Bentley's ContextCapture Cesium export. https://github.com/AnalyticalGraphicsInc/3d-tiles
In the export you get 2 tools, one for linear, and one for area measurements. I was seeing if someone could point me in the right direction to set this up myself. I don't have the skill set to merge Bentley's code with my code, as I don't know 'require' and 'cesium' well enough.