我有一点:
point: n
x: 1250625.1650299462
y: -5015983.5669022305
z: 3730748.0432948116
我正在尝试创建一个 Cartesian3 实例
point = new Cesium.Cartesian3(point.x, point.y, point.z)
但这是不对的,因为我无法访问 Cartesian3 的add方法......其中 randomOffset 也被认为是一个新的 Cesium.Cartesian3 实例,但我只从“new Cesium.笛卡尔3'。
point = point.add(randomOffset)
我在这里做错了什么?