GrapherApp.UI/Model/Vector2.cs
/// <summary>
///   <para>Makes this vector have a magnitude of 1.</para>
/// </summary>
Makes this vector have a magnitude of 1.
Makes this vector have a magnitude of 1 .
public void Normalize()
		{
			float magnitude = this.magnitude;
			if (magnitude > 1E-05f)
			{
				this /= magnitude;
			}
			else
			{
				this = Vector2.zero;
			}
		}
public void Normalize ( ) { float magnitude = this . magnitude ; if ( magnitude > 1E-05f ) { this /= magnitude ; } else { this = Vector2 . zero ; } }
Makes this vector have a magnitude of 1.
Makes this vector have a magnitude of 1 .