public static float Dot(Vector4 a, Vector4 b) { return (float)(a.x * (double)b.x + a.y * (double)b.y + a.z * (double)b.z + a.w * (double)b.w); } }
public float SqrMagnitude() { return(Vector4.Dot(this, this)); }