Skip to content
Snippets Groups Projects
Commit 7df6cacd authored by Konstantin Kühlem's avatar Konstantin Kühlem
Browse files

style: Ensured coding conventions

parent 8fd82fe0
No related branches found
No related tags found
No related merge requests found
......@@ -253,8 +253,6 @@ FString USFGazeTracker::GetCurrentGazeTarget()
}
}
return "";
}
......@@ -294,7 +292,7 @@ bool USFGazeTracker::LaunchCalibration()
return false;
}
bool USFGazeTracker::IsTrackingEyes()
bool USFGazeTracker::IsTrackingEyes() const
{
if (!bEyeTrackingStarted)
return false;
......@@ -318,7 +316,7 @@ bool USFGazeTracker::IsTrackingEyes()
return false;
}
float USFGazeTracker::GetEyesOpenness()
float USFGazeTracker::GetEyesOpenness() const
{
if (!IsTrackingEyes())
{
......
......@@ -67,12 +67,12 @@ public:
//whether currently the eyes are tracked, otherwise head-forward is used (this can change during execution if the HMD is taken off etc.)
UFUNCTION(BlueprintCallable)
bool IsTrackingEyes();
bool IsTrackingEyes() const;
// a value (mean of both eyes), how open the eyes are from 0.0 (fully closed), to 1.0 (fully opened), extreme values might not be reached
// returns -1.0 if the eyes are not tracked or not value can be estimated
UFUNCTION(BlueprintCallable)
float GetEyesOpenness();
float GetEyesOpenness() const;
bool DataAlreadyLogged();
void SetDataLogged();
......
......@@ -94,7 +94,7 @@ public:
UPROPERTY(BlueprintReadOnly, EditAnywhere, Instanced, meta = (TitleProperty = "Name", Category = "Study Setup"))
TArray<USFIndependentVariable*> IndependentVariables;
//give names of phases wich should be randomized in their order between participants
//give names of phases which should be randomized in their order between participants
UPROPERTY(BlueprintReadOnly, EditAnywhere, meta = (Category = "Study Setup"))
TArray<FString> PhasesToOrderRandomize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment