SharpMath.float3x3.Parse C# (CSharp) 메소드

Parse() 공개 정적인 메소드

public static Parse ( string _Source ) : float3x3
_Source string
리턴 float3x3
        public static float3x3 Parse( string _Source )
        {
            string[]	Terms = _Source.Split( new char[] { ';' } );

            float3x3	Result = new float3x3();
                        Result.m[0,0] = float.Parse( Terms[3 * 0 + 0] );
                        Result.m[0,1] = float.Parse( Terms[3 * 0 + 1] );
                        Result.m[0,2] = float.Parse( Terms[3 * 0 + 2] );
                        Result.m[1,0] = float.Parse( Terms[3 * 1 + 0] );
                        Result.m[1,1] = float.Parse( Terms[3 * 1 + 1] );
                        Result.m[1,2] = float.Parse( Terms[3 * 1 + 2] );
                        Result.m[2,0] = float.Parse( Terms[3 * 2 + 0] );
                        Result.m[2,1] = float.Parse( Terms[3 * 2 + 1] );
                        Result.m[2,2] = float.Parse( Terms[3 * 2 + 2] );

            return	Result;
        }