I am Zhang Han from Guangzhou, Guangdong, China，I encountered a problem that confuses me very much，hope to get the designer’s answer。My English is not very good, so please use the translation software directly, please forgive me。
I am learning Primitive recently，i want to make the rotation meet my expectations, so I will first put the object to be added in Cartesian3(0,0,0), and then use Cesium.Matrix4.fromTranslationQuaternionRotationScale to move the object to the position I want and rotate me The angle needed.
When drawing other shapes such as Cylinder, it is normal, but when I draw line segments, I get an error.
I looked at the source code and it was this place that caused it.
Ellipsoid. CartesianToCartographic cannot contain Cartesian3 using (0, 0，0), will be undefined, and this is the original design or a bug?
I think I can make a submission for this problem and fix the problem in this case。
You can reproduce this problem very conveniently here
Just change a value in positions to Cesium.Cartesian3.ZERO or new Cesium.Cartesian3(0,0,0)