File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
SDK/Features/Utilities/Solvers Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,6 @@ private Vector3 RaycastDirection
388388 /// <returns>Quaternion, the orientation to use for the object</returns>
389389 private Quaternion CalculateMagnetismOrientation ( Vector3 direction , Vector3 surfaceNormal )
390390 {
391-
392391 // Compute the up vector of our current working rotation,
393392 // to avoid gimbal lock instability when normal is also pointing upwards.
394393 // This "current" up vector is used in the LookRotation, which causes
Original file line number Diff line number Diff line change @@ -288,8 +288,6 @@ public IEnumerator TestSurfaceMagnetismGimbalLock()
288288
289289 // Make sure that the target's right vector has not flip-flopped
290290 Assert . IsTrue ( Mathf . Sign ( targetTransform . transform . right . x ) == Mathf . Sign ( rightVector . x ) ) ;
291-
292-
293291 }
294292
295293 /// <summary>
You can’t perform that action at this time.
0 commit comments