From ae7aecf7ec327536139cb6619a01e2fd0162c137 Mon Sep 17 00:00:00 2001 From: Christian Helwig <helwig@vr.rwth-aachen.de> Date: Wed, 14 Aug 2024 14:24:31 +0200 Subject: [PATCH] style(movement): fixes clang format --- Source/RWTHVRToolkit/Private/Pawn/Navigation/TurnComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/RWTHVRToolkit/Private/Pawn/Navigation/TurnComponent.cpp b/Source/RWTHVRToolkit/Private/Pawn/Navigation/TurnComponent.cpp index b9e73671..9388a11d 100644 --- a/Source/RWTHVRToolkit/Private/Pawn/Navigation/TurnComponent.cpp +++ b/Source/RWTHVRToolkit/Private/Pawn/Navigation/TurnComponent.cpp @@ -112,7 +112,7 @@ void UTurnComponent::OnBeginSnapTurn(const FInputActionValue& Value) void UTurnComponent::RotateCameraAndPawn(float Yaw) const { const FVector OrigLocation = VRPawn->HeadCameraComponent->GetComponentLocation(); - + const FRotator OrigRotation = VRPawn->GetActorRotation(); const FRotator NewRotation = FRotator(0, VRPawn->GetActorRotation().Yaw + Yaw, 0); -- GitLab