NewTOAPIA.float3x3.this C# (CSharp) Method

this() public method

public this ( int i, int j ) : float
i int
j int
return float
        public float this[int i, int j]
        {
            get
            {
                switch (i)
                {
                    case 0:
                        switch (j)
                        {
                            case 0:
                                return M11;
                            case 1:
                                return M12;
                            case 2:
                                return M13;
                            default:
                                return 0f;
                        }
                    case 1:
                        switch (j)
                        {
                            case 0:
                                return M21;
                            case 1:
                                return M22;
                            case 2:
                                return M23;
                            default:
                                return 0f;
                        }
                    case 2:
                        switch (j)
                        {
                            case 0:
                                return M31;
                            case 1:
                                return M32;
                            case 2:
                                return M33;
                            default:
                                return 0f;
                        }
                    default:
                        return 0f;
                }
            }
            set
            {
                switch (i)
                {
                    case 0:
                        switch (j)
                        {
                            case 0:
                                M11 = value;
                                break;
                            case 1:
                                M12 = value;
                                break;
                            case 2:
                                M13 = value;
                                break;
                        }
                        break;
                    case 1:
                        switch (j)
                        {
                            case 0:
                                M21 = value;
                                break;
                            case 1:
                                M22 = value;
                                break;
                            case 2:
                                M23 = value;
                                break;
                        }
                        break;
                    case 2:
                        switch (j)
                        {
                            case 0:
                                M31 = value;
                                break;
                            case 1:
                                M32 = value;
                                break;
                            case 2:
                                M33 = value;
                                break;
                        }
                        break;
                }
            }
        }

Same methods

float3x3::this ( int i ) : float3