Added error checking
This commit is contained in:
@@ -24,7 +24,6 @@ import java.util.List;
|
||||
public class InputProcessor {
|
||||
|
||||
private List<Vector3f>[] selfRotationVectorPaths; // Relative path of the motion data
|
||||
//private Vector3f[][] selfRotationVectorPaths; // Relative path of the motion data
|
||||
private Vector3f[][] targetRotationVectorPaths; // Target path of the motion data
|
||||
|
||||
private float exerciseRepetitionDurationInSeconds = 0.0f;
|
||||
@@ -151,8 +150,6 @@ public class InputProcessor {
|
||||
this.selfRotationVectorPaths[0] = new ArrayList<>();
|
||||
this.selfRotationVectorPaths[1] = new ArrayList<>();
|
||||
|
||||
this.repetitionsRemaining = ExerciseManager.DEFAULT_EXERCISE_REPETITIONS;
|
||||
|
||||
this.targetRotationVectorPaths = new Vector3f[2][exercise.rightPath.getAngleVectors().length];
|
||||
this.targetRotationVectorPaths[0] = exercise.leftPath.getAngleVectors();
|
||||
this.targetRotationVectorPaths[1] = exercise.rightPath.getAngleVectors();
|
||||
|
Reference in New Issue
Block a user