FarseerPhysics.Common.PolygonTools.createLine C# (CSharp) Method

createLine() public static method

Set this as a single edge.
public static createLine ( Vector2 start, Vector2 end ) : Vertices
start Vector2 The first point.
end Vector2 The second point.
return Vertices
		public static Vertices createLine( Vector2 start, Vector2 end )
		{
			var vertices = new Vertices( 2 );
			vertices.Add( start );
			vertices.Add( end );

			return vertices;
		}