public float dot(float4 b) { return(x * b.x + y * b.y + z * b.z + w * b.w); }
public static float4 normalize(float4 a) { return(a.normalize()); }
public static float dot(float4 a, float4 b) { return(a.x * b.x + a.y * b.y + a.z * b.z + a.w * b.w); }
public static float length(float4 a) { return(a.length()); }