File tree 1 file changed +2
-10
lines changed
Source/CesiumRuntime/Private
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,9 @@ void UCesium3DTilesetRoot::_updateAbsoluteLocation() {
63
63
void UCesium3DTilesetRoot::_updateTilesetToUnrealRelativeWorldTransform () {
64
64
ACesium3DTileset* pTileset = this ->GetOwner <ACesium3DTileset>();
65
65
66
- const FMatrix ellipsoidCenteredToUnrealWorld =
67
- pTileset->ResolveGeoreference ()
68
- ->ComputeEarthCenteredEarthFixedToUnrealTransformation ();
69
-
70
- FVector relativeLocation = VecMath::createVector (this ->_absoluteLocation );
71
-
72
- FMatrix tilesetActorToUeLocal =
73
- this ->GetRelativeTransform ().ToMatrixWithScale ();
74
-
75
66
this ->_tilesetToUnrealRelativeWorld = VecMath::createMatrix4D (
76
- ellipsoidCenteredToUnrealWorld * tilesetActorToUeLocal);
67
+ pTileset->ResolveGeoreference ()
68
+ ->ComputeEarthCenteredEarthFixedToUnrealTransformation ());
77
69
78
70
pTileset->UpdateTransformFromCesium ();
79
71
}
You can’t perform that action at this time.
0 commit comments