mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 04:00:37 -06:00
Merge
This commit is contained in:
@@ -43,7 +43,7 @@ namespace openspace {
|
||||
|
||||
std::shared_ptr<Texture> GdalDataConverter::convertToOpenGLTexture(
|
||||
GDALDataset* dataSet,
|
||||
const TileIndex& tileIndex,
|
||||
const GeodeticTileIndex& tileIndex,
|
||||
int GLType)
|
||||
{
|
||||
int nRasters = dataSet->GetRasterCount();
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#ifndef __GDALDATACONVERTER_H__
|
||||
#define __GDALDATACONVERTER_H__
|
||||
|
||||
#include <modules/globebrowsing/other/twmstileprovider.h>
|
||||
#include <modules/globebrowsing/other/tileprovider.h>
|
||||
|
||||
#include <ghoul/logging/logmanager.h>
|
||||
#include <ghoul/opengl/texture.h>
|
||||
@@ -46,7 +46,7 @@ namespace openspace {
|
||||
|
||||
std::shared_ptr<Texture> convertToOpenGLTexture(
|
||||
GDALDataset* dataSet,
|
||||
const TileIndex& tileIndex,
|
||||
const GeodeticTileIndex& tileIndex,
|
||||
int GLType);
|
||||
|
||||
private:
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace openspace {
|
||||
assert(poDataset != NULL);
|
||||
GdalDataConverter conv;
|
||||
|
||||
TileIndex ti;
|
||||
GeodeticTileIndex ti;
|
||||
ti.x = 0;
|
||||
ti.y = 0;
|
||||
ti.level = 0;
|
||||
|
||||
Reference in New Issue
Block a user