@@ -13,14 +13,14 @@ public static Vector3d ExtractScale(this Fixed3x3 matrix)
1313 return Fixed3x3 . ExtractScale ( matrix ) ;
1414 }
1515
16- /// <inheritdoc cref="Fixed3x3.SetScale(ref Fixed3x3, Vector3d)" />
16+ /// <inheritdoc cref="Fixed3x3.SetScale(Fixed3x3, Vector3d)" />
1717 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1818 public static Fixed3x3 SetScale ( this ref Fixed3x3 matrix , Vector3d localScale )
1919 {
2020 return matrix = Fixed3x3 . SetScale ( matrix , localScale ) ;
2121 }
2222
23- /// <inheritdoc cref="Fixed3x3.SetGlobalScale(ref Fixed3x3, Vector3d)" />
23+ /// <inheritdoc cref="Fixed3x3.SetGlobalScale(Fixed3x3, Vector3d)" />
2424 public static Fixed3x3 SetGlobalScale ( this ref Fixed3x3 matrix , Vector3d globalScale )
2525 {
2626 return matrix = Fixed3x3 . SetGlobalScale ( matrix , globalScale ) ;
@@ -33,8 +33,8 @@ public static Fixed3x3 SetGlobalScale(this ref Fixed3x3 matrix, Vector3d globalS
3333 /// <summary>
3434 /// Compares two Fixed3x3 for approximate equality, allowing a fixed absolute difference between components.
3535 /// </summary>
36- /// <param name="q1 ">The current Fixed3x3.</param>
37- /// <param name="q2 ">The Fixed3x3 to compare against.</param>
36+ /// <param name="f1 ">The current Fixed3x3.</param>
37+ /// <param name="f2 ">The Fixed3x3 to compare against.</param>
3838 /// <param name="allowedDifference">The allowed absolute difference between each component.</param>
3939 /// <returns>True if the components are within the allowed difference, false otherwise.</returns>
4040 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
@@ -54,22 +54,22 @@ public static bool FuzzyEqualAbsolute(this Fixed3x3 f1, Fixed3x3 f2, Fixed64 all
5454 /// <summary>
5555 /// Compares two Fixed3x3 for approximate equality, allowing a fractional percentage (defaults to ~1%) difference between components.
5656 /// </summary>
57- /// <param name="q1 ">The current Fixed3x3.</param>
58- /// <param name="q2 ">The Fixed3x3 to compare against.</param>
57+ /// <param name="f1 ">The current Fixed3x3.</param>
58+ /// <param name="f2 ">The Fixed3x3 to compare against.</param>
5959 /// <param name="percentage">The allowed fractional difference (percentage) for each component.</param>
6060 /// <returns>True if the components are within the allowed percentage difference, false otherwise.</returns>
61- public static bool FuzzyEqual ( this Fixed3x3 f1 , Fixed3x3 q2 , Fixed64 ? percentage = null )
61+ public static bool FuzzyEqual ( this Fixed3x3 f1 , Fixed3x3 f2 , Fixed64 ? percentage = null )
6262 {
6363 Fixed64 p = percentage ?? Fixed64 . Epsilon ;
64- return f1 . m00 . FuzzyComponentEqual ( q2 . m00 , p ) &&
65- f1 . m01 . FuzzyComponentEqual ( q2 . m01 , p ) &&
66- f1 . m02 . FuzzyComponentEqual ( q2 . m02 , p ) &&
67- f1 . m10 . FuzzyComponentEqual ( q2 . m10 , p ) &&
68- f1 . m11 . FuzzyComponentEqual ( q2 . m11 , p ) &&
69- f1 . m12 . FuzzyComponentEqual ( q2 . m12 , p ) &&
70- f1 . m20 . FuzzyComponentEqual ( q2 . m20 , p ) &&
71- f1 . m21 . FuzzyComponentEqual ( q2 . m21 , p ) &&
72- f1 . m22 . FuzzyComponentEqual ( q2 . m22 , p ) ;
64+ return f1 . m00 . FuzzyComponentEqual ( f2 . m00 , p ) &&
65+ f1 . m01 . FuzzyComponentEqual ( f2 . m01 , p ) &&
66+ f1 . m02 . FuzzyComponentEqual ( f2 . m02 , p ) &&
67+ f1 . m10 . FuzzyComponentEqual ( f2 . m10 , p ) &&
68+ f1 . m11 . FuzzyComponentEqual ( f2 . m11 , p ) &&
69+ f1 . m12 . FuzzyComponentEqual ( f2 . m12 , p ) &&
70+ f1 . m20 . FuzzyComponentEqual ( f2 . m20 , p ) &&
71+ f1 . m21 . FuzzyComponentEqual ( f2 . m21 , p ) &&
72+ f1 . m22 . FuzzyComponentEqual ( f2 . m22 , p ) ;
7373 }
7474
7575 #endregion
0 commit comments