Skip to content

Commit f73e1aa

Browse files
removed pointer debug display -> moved to separate PR
cleanup in proximityeffect
1 parent 7af197f commit f73e1aa

File tree

9 files changed

+0
-1914
lines changed

9 files changed

+0
-1914
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,11 @@ public void UpdateScaling(Vector3 boundsCenter, Vector3 boundsExtents)
148148
}
149149

150150
// Get the max radius possible of our current bounds and extent the range to include proximity scaled objects
151-
// float maxRadius = Mathf.Max(Mathf.Max(boundsExtents.x, boundsExtents.y), boundsExtents.z);
152-
//maxRadius *= maxRadius;
153151
float squareMaxLength= boundsExtents.sqrMagnitude + (3 * config.ObjectMediumProximity * config.ObjectMediumProximity);
154152

155153
// Grab points within sphere of influence from valid pointers
156154
foreach (var pointer in proximityPointers)
157155
{
158-
//float squareDistanceCenterToPointer = (position - point).sqrMagnitude
159156
if (IsPointWithinBounds(boundsCenter, pointer.Position, squareMaxLength))
160157
{
161158
proximityPoints.Add(pointer.Position);

Assets/MixedRealityToolkit/Utilities/Debug/PointerDebugDisplay.cs

Lines changed: 0 additions & 93 deletions
This file was deleted.

Assets/MixedRealityToolkit/Utilities/Debug/PointerDebugDisplay.cs.meta

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)