Skip to content
Snippets Groups Projects
Commit 470a1f35 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

fix: Fixes unreachable code warning and missing forward declaration

parent 976516d7
Branches
Tags
No related merge requests found
...@@ -27,16 +27,18 @@ bool URWTHVRUtilities::IsRoomMountedMode() ...@@ -27,16 +27,18 @@ bool URWTHVRUtilities::IsRoomMountedMode()
{ {
#if PLATFORM_SUPPORTS_CLUSTER #if PLATFORM_SUPPORTS_CLUSTER
return URWTHVRClusterUtilities::IsRoomMountedMode(); return URWTHVRClusterUtilities::IsRoomMountedMode();
#endif #else
return false; return false;
#endif
} }
bool URWTHVRUtilities::IsPrimaryNode() bool URWTHVRUtilities::IsPrimaryNode()
{ {
#if PLATFORM_SUPPORTS_CLUSTER #if PLATFORM_SUPPORTS_CLUSTER
return URWTHVRClusterUtilities::IsPrimaryNode(); return URWTHVRClusterUtilities::IsPrimaryNode();
#endif #else
return false; return false;
#endif
} }
float URWTHVRUtilities::GetEyeDistance() float URWTHVRUtilities::GetEyeDistance()
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "MovementComponentBase.h" #include "MovementComponentBase.h"
#include "TurnComponent.generated.h" #include "TurnComponent.generated.h"
class UMotionControllerComponent;
UCLASS(Blueprintable) UCLASS(Blueprintable)
class RWTHVRTOOLKIT_API UTurnComponent : public UMovementComponentBase class RWTHVRTOOLKIT_API UTurnComponent : public UMovementComponentBase
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment