Ejemplo n.º 1
0
 public static void DrawLine <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer,
                                                 Vector3 xyz1, Vector3 xyz2, float lineWidth, TVertexParameters parameters)
 {
     drawer.DrawLine(xyz1.X, xyz1.Y, xyz1.Z, xyz2.X, xyz2.Y, xyz2.Z, lineWidth, parameters);
 }
Ejemplo n.º 2
0
 public static void DrawLine <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer,
                                                 float x1, float y1, float x2, float y2, float lineWidth, TVertexParameters parameters)
 {
     drawer.DrawLine(x1, y1, 0, x2, y2, 0, lineWidth, parameters);
 }
Ejemplo n.º 3
0
 public static void DrawLine <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer,
                                                 Vector2 xy1, Vector2 xy2, float lineWidth, TVertexParameters parameters)
 {
     drawer.DrawLine(xy1.X, xy1.Y, 0, xy2.X, xy2.Y, 0, lineWidth, parameters);
 }