public Vector2 GetNormalized()
	{
		double length = Math.sqrt(X * X + Y * Y);
		if (length != 0.0)
		{
			float s = 1.0f / (float) length;
			double newX = X * s, newY = Y * s;
			if (newX > 1)
			{
				newX = 1;
				newY = 0;
			}
			else if (newY > 1)
			{
				newY = 1;
				newX = 0;
			}
			return (new Vector2(newX, newY));
		}
		else
			return (Vector2.Zero());
	}