public static void DrawRectangle <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer, float x, float y, float w, float h, float lineWidth, TVertexParameters parameters) { drawer.DrawRectangle(x, y, 0, w, h, lineWidth, parameters); }
public static void DrawRectangle <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer, Vector3 xyz, Vector2 wh, float lineWidth, TVertexParameters parameters) { drawer.DrawRectangle(xyz.X, xyz.Y, xyz.Z, wh.X, wh.Y, lineWidth, parameters); }