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
388
388
/// <returns>Quaternion, the orientation to use for the object</returns>
389
389
private Quaternion CalculateMagnetismOrientation ( Vector3 direction , Vector3 surfaceNormal )
390
390
{
391
-
392
391
// Compute the up vector of our current working rotation,
393
392
// to avoid gimbal lock instability when normal is also pointing upwards.
394
393
// 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()
288
288
289
289
// Make sure that the target's right vector has not flip-flopped
290
290
Assert . IsTrue ( Mathf . Sign ( targetTransform . transform . right . x ) == Mathf . Sign ( rightVector . x ) ) ;
291
-
292
-
293
291
}
294
292
295
293
/// <summary>
You can’t perform that action at this time.
0 commit comments