Commit 8c7671c7 by wester

tileset debug

parent 311c1bbf
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -27,6 +27,8 @@ void ATilesetActor::BeginPlay()
rootTileset = new FTileContent();
rootTileset->url = relativeURL;
UE_LOG(TILES, Error, TEXT("Tileset load %d: %s %s"), (int)GetWorld()->IsServer(), *relativeURL, *host);
//UE_LOG(TILES, Error, TEXT("Tileset load : %s %s"), *relativeURL, *host);
UTileDownloader *downloader = NewObject<UTileDownloader>(UTileDownloader::StaticClass());
downloader->GetTileContent(this, rootTileset, host);
......@@ -548,7 +550,7 @@ float FBoundingVolume::getDistanceTo(FVector Position, FMatrix bouindingTransfor
else if (region.Num() == 6) {
// WGS84
//TODO FIXME is currently spher distance
//UE_LOG(TILES, Error, TEXT("Region distance is not implemented"));
//UE_LOG(TILES, Error, TEXT("Region distance is not imyplemented"));
FVector Center = FVector(0, 0, 6378137);
double dist = (Position - Center).Size();
distance = dist;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment