Aka_s_Vayne.Logic.AJSGeometry.Polygon.DrawLineInWorld C# (CSharp) Method

DrawLineInWorld() public static method

public static DrawLineInWorld ( System.Vector3 start, System.Vector3 end, int width, System color ) : void
start System.Vector3
end System.Vector3
width int
color System
return void
            public static void DrawLineInWorld(Vector3 start, Vector3 end, int width, System.Drawing.Color color)
            {
                var from = Drawing.WorldToScreen(start);
                var to = Drawing.WorldToScreen(end);
                Drawing.DrawLine(from[0], from[1], to[0], to[1], width, color);
            }