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