Magnitude and dividing by 2 isn’t the same. One is getting magnitude, one is halving (not dividing by half :P)
To get a Vector3 with positive or negative magnitude of a direction (which is generally just 1, since it’s direction) on the Z, likely for sizing/positioning.