dvgis / dc-sdk

DC-SDK is based on the open source project Cesium for the second development of two three-dimensional WebGis application framework , the framework optimizes the use of Cesium and adds some additional features , designed for developers to quickly build WebGis application.🌎
http://dc.dvgis.cn
Apache License 2.0
826 stars 256 forks source link

抛物线处理方法DC.Math.parabola尾部处理异常 #125

Closed Gxiaodan closed 2 years ago

Gxiaodan commented 2 years ago

函数处理完成之后抛物线尾部是离地状态 建议在遍历完成之后,手动将尾部数据加上去,这样可以解决 result.push([endPosition.lng, endPosition.lat, 0])

cavencj commented 2 years ago

是的 得加上结束位置

cavencj commented 2 years ago

代码已更新