Revision 15490 import/ext3D/branches/ext3D_v1.1/lib3DMap/src/com/iver/ai2/gvsig3d/cacheservices/VectorCacheService.java
VectorCacheService.java | ||
---|---|---|
110 | 110 |
_planetViewer.addSpecialNode(_layerNode); |
111 | 111 |
|
112 | 112 |
int cacheType = CacheService.GLOBAL; |
113 |
if (planet.getType() == PlanetType.SPHERICAL_MODE)
|
|
113 |
if (planet.getType() == PlanetType.GEOCENTRIC)
|
|
114 | 114 |
cacheType += SPHERIC; |
115 | 115 |
else |
116 | 116 |
cacheType += PLANE; |
... | ... | |
341 | 341 |
h = heigth; |
342 | 342 |
} |
343 | 343 |
|
344 |
if (this._planet.getType() == PlanetType.SPHERICAL_MODE) {
|
|
344 |
if (this._planet.getType() == PlanetType.GEOCENTRIC) {
|
|
345 | 345 |
// Transform to geodesical coordinates |
346 | 346 |
// posGeo = new Vec3(dataLine[1], dataLine[0], heigth); |
347 | 347 |
// posReal = new Vec3(dataLine[0], dataLine[1], dataLine[2]); |
Also available in: Unified diff