ShaderInterpreter.Shader.cross C# (CSharp) Method

cross() public method

public cross ( float3 a, float3 b ) : float3
a ShaderInterpreter.ShaderMath.float3
b ShaderInterpreter.ShaderMath.float3
return ShaderInterpreter.ShaderMath.float3
        public float3 cross( float3 a, float3 b )
        {
            return new float3(
                    a.y * b.z - a.z * b.y,
                    a.z * b.x - a.x * b.z,
                    a.x * b.y - a.y * b.x
                );
        }