Skip to content

Commit 077978a

Browse files
committed
&& on the right
1 parent 3ba309e commit 077978a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Assets/MixedRealityToolkit.Services/InputSystem/FocusProvider.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ float IMixedRealityFocusProvider.GlobalPointingExtent
4242
get
4343
{
4444
MixedRealityInputSystemProfile profile = ConfigurationProfile as MixedRealityInputSystemProfile;
45-
45+
4646
if ((Service != null) &&
4747
(profile != null) &&
4848
profile.PointerProfile != null)
@@ -700,7 +700,7 @@ private static void RaycastPhysics(PointerData pointerData, LayerMask[] prioriti
700700
case RaycastMode.Simple:
701701
if (MixedRealityRaycaster.RaycastSimplePhysicsStep(pointerRays[i], prioritizedLayerMasks, out physicsHit))
702702
{
703-
UpdatePointerRayOnHit(pointerData, pointerRays, in physicsHit, i);
703+
UpdatePointerRayOnHit(pointerData, pointerRays, in physicsHit, i);
704704
return;
705705
}
706706
break;
@@ -773,10 +773,10 @@ private void RaycastGraphics(PointerData pointerData, LayerMask[] prioritizedLay
773773
}
774774

775775
// Check if we need to overwrite the physics raycast info
776-
if ((pointerData.CurrentPointerTarget == null || overridePhysicsRaycast)
777-
&& raycastResult.isValid
778-
&& raycastResult.module != null
779-
&& raycastResult.module.eventCamera == UIRaycastCamera)
776+
if ((pointerData.CurrentPointerTarget == null || overridePhysicsRaycast) &&
777+
raycastResult.isValid &&
778+
raycastResult.module != null &&
779+
raycastResult.module.eventCamera == UIRaycastCamera)
780780
{
781781
newUiRaycastPosition.x = raycastResult.screenPosition.x;
782782
newUiRaycastPosition.y = raycastResult.screenPosition.y;

0 commit comments

Comments
 (0)