【发布时间】:2013-03-04 21:47:51
【问题描述】:
我以前从未做过这种事情,但我正在做的是制作一个 3D 球体(具有类似地球的纹理),我想使用特定的谷歌地图中的纬度和经度在其上绘制位置位置。现在我想知道,我的球体半径显然小于地球半径,这仍然会影响纬度和经度值的位置到 xyz 给定以下公式:
tx = radiusOfSphere * cos(latitude) * cos(longitude);
ty = radiusOfSphere * -sin(latitude);
tz = radiusOfSphere * cos(latitude) * sin(longitude);
【问题讨论】:
标签: geolocation geometry