Skip to content

Commit 5a95fca

Browse files
removed whitespace - added comment - removed obsolete code
1 parent 591c2dd commit 5a95fca

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Assets/MixedRealityToolkit.Tests/PlayModeTests/BoundingBoxTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,11 +358,10 @@ public IEnumerator SetTarget()
358358
bbox.Target = cube;
359359
bbox.Active = true;
360360

361-
var inputSimulationService = PlayModeTestUtilities.GetInputSimulationService();
362-
363361
// front right corner is corner 3
364362
var frontRightCornerPos = cube.transform.Find("rigRoot/corner_3").position;
365363

364+
// grab corner and scale object
366365
Vector3 initialHandPosition = new Vector3(0, 0, 0.5f);
367366
int numSteps = 30;
368367
var delta = new Vector3(0.1f, 0.1f, 0f);

Assets/MixedRealityToolkit.Tests/PlayModeTests/Experimental/BoundsControlTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,10 @@ public IEnumerator SetTarget()
360360
bbox.Target = cube;
361361
bbox.Active = true;
362362

363-
var inputSimulationService = PlayModeTestUtilities.GetInputSimulationService();
364-
365363
// front right corner is corner 3
366364
var frontRightCornerPos = cube.transform.Find("rigRoot/corner_3").position;
367365

366+
// grab corner and scale object
368367
Vector3 initialHandPosition = new Vector3(0, 0, 0.5f);
369368
int numSteps = 30;
370369
var delta = new Vector3(0.1f, 0.1f, 0f);
@@ -375,7 +374,6 @@ public IEnumerator SetTarget()
375374
yield return hand.SetGesture(ArticulatedHandPose.GestureId.Pinch);
376375
yield return hand.MoveTo(frontRightCornerPos + delta, numSteps);
377376

378-
379377
var endBounds = cube.GetComponent<BoxCollider>().bounds;
380378
Vector3 expectedCenter = new Vector3(0.033f, 0.033f, 1.467f);
381379
Vector3 expectedSize = Vector3.one * .567f;

0 commit comments

Comments
 (0)