Skip to content

Commit 30c4c91

Browse files
authored
Update Assets/MixedRealityToolkit.SDK/Experimental/Features/UX/BoundsControl/Visuals/ProximityEffect/ProximityEffect.cs
1 parent e74fc7f commit 30c4c91

File tree

1 file changed

+1
-1
lines changed
  • Assets/MixedRealityToolkit.SDK/Experimental/Features/UX/BoundsControl/Visuals/ProximityEffect

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit.SDK/Experimental/Features/UX/BoundsControl/Visuals/ProximityEffect/ProximityEffect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public void UpdateScaling(Vector3 boundsCenter, Vector3 boundsExtents)
147147
}
148148
}
149149

150-
// Get the max radius possible of our current bounds and extent the range to include proximity scaled objects
150+
// Get the max radius possible of our current bounds and extent the range to include proximity scaled objects. This is done by adjusting the original bounds to include the ObjectMediumProximity range in x, y and z axis
151151
float squareMaxLength = boundsExtents.sqrMagnitude + (3 * config.ObjectMediumProximity * config.ObjectMediumProximity);
152152

153153
// Grab points within sphere of influence from valid pointers

0 commit comments

Comments
 (0)