FarseerPhysics.Common.Decomposition.Triangle.Triangle C# (CSharp) Method

Triangle() public method

public Triangle ( Triangle t ) : System
t Triangle
return System
        public Triangle(Triangle t)
        {
            X = new float[3];
            Y = new float[3];

            X[0] = t.X[0];
            X[1] = t.X[1];
            X[2] = t.X[2];
            Y[0] = t.Y[0];
            Y[1] = t.Y[1];
            Y[2] = t.Y[2];
        }

Same methods

Triangle::Triangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : System