File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Assets/MRTK/SDK/Features/Utilities Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,25 @@ internal static class ConstraintUtils
23
23
/// <param name="comparer">ConstraintExecOrderComparer for comparing two constraint priorities</param>
24
24
internal static void AddWithPriority ( ref List < TransformConstraint > constraintList , TransformConstraint constraint , ConstraintExecOrderComparer comparer )
25
25
{
26
- if ( constraintList . Contains ( constraint ) )
26
+ if ( constraintList . Contains ( constraint ) )
27
27
{
28
28
return ;
29
29
}
30
30
31
- if ( constraintList . Count == 0 || comparer . Compare ( constraintList [ constraintList . Count - 1 ] , constraint ) < 0 )
31
+ if ( constraintList . Count == 0 || comparer . Compare ( constraintList [ constraintList . Count - 1 ] , constraint ) < 0 )
32
32
{
33
33
constraintList . Add ( constraint ) ;
34
34
return ;
35
35
}
36
- else if ( comparer . Compare ( constraintList [ 0 ] , constraint ) > 0 )
36
+ else if ( comparer . Compare ( constraintList [ 0 ] , constraint ) > 0 )
37
37
{
38
38
constraintList . Insert ( 0 , constraint ) ;
39
39
return ;
40
40
}
41
41
else
42
42
{
43
43
int idx = constraintList . BinarySearch ( constraint , comparer ) ;
44
- if ( idx < 0 )
44
+ if ( idx < 0 )
45
45
{
46
46
// idx will be the two's complement of the index of the
47
47
// next element that is "larger" than the given constraint.
@@ -51,4 +51,4 @@ internal static void AddWithPriority(ref List<TransformConstraint> constraintLis
51
51
}
52
52
}
53
53
}
54
- }
54
+ }
You can’t perform that action at this time.
0 commit comments