The Nets’ NBA-worst season mercifully ended Wednesday, but the makeshift lineup they fielded in their 112-73 loss to the Bulls was a reminder that general manager Sean Marks started focusing on next season a while ago.

With two first-round picks and up to $33 million in cap room to spend, this will be a huge offseason for the Nets. And while they certainly will chase restricted free agents such as Washington’s Otto Porter and Detroit’s Kentavious Caldwell-Pope, their reinforcements could have a foreign flavor.

Marks wasn’t at the season finale, but he spent more than a week scouting in Europe last month and is expected to head back soon — as the names of free agents Milos Teodosic and Nicolò Melli resurface in new reports.

Watching Brooklyn’s turnover-plagued offense struggle with Jeremy Lin and Brook Lopez on the bench was a reminder of how badly they need another point guard and scoring option.

Brooklyn’s interest in Teodosic is well-known. The 30-year-old point guard was voted the best international player outside the NBA by league general managers earlier this year, leading Serbia to a silver medal in Rio and CSKA Moscow — Nets owner Mikhail Prokhorov’s old team — to a Euroleague title.

Teodosic’s passing has brought comparisons to former Nets great Jason Kidd.

Nicolò Melli drives to the basket during a Euroleague game in March.EPA

Marks scouted Teodosic on March 22 in Moscow. Israeli writer David Pick tweeted out pictures of the Nets GM and team chairman Dmitry Razumov watching the game with CSKA president Andrei Vatutin. Teodosic had 20 points and 10 assists, and Pick tweeted Wednesday that Marks is going back to watch him again, presumably in the Euroleague playoffs, which start Tuesday.

Brooklyn previously scouted Teodosic on Nov. 19, and Brose Bamberg’s Melli — a 26-year-old from Italy — also played in that game. Three separate European outlets recently reported on the Nets’ interest in Melli, the stretch-four tabbed in a recent European GM survey as the best power forward in Europe and the player most primed for a breakout.

“I don’t rule out any possibility, but I don’t like to talk about the future,” Melli said in Tuttosport. “It is great to draw interest from other teams [Real Madrid is said to be one of the teams], but I did not talk with anyone. My agent and I will think about the future after the season talking with Bamberg. NBA? It is a dream. But it will depend on the offers, because I love too much being on the court and playing.”

Playing time shouldn’t be an issue for the Nets, who took the fourth-most 3-pointers in the league, but finished 23rd in 3-point percentage. Melli — whose mother, Julie Vollertsen, won a silver medal in volleyball for the U.S. in the 1984 Olympics — could help. He hit a career-best 45.3 percent from deep last season and 43.4 percent this season.

Pick had reported the Nets’ interest last month, and in recent days other outlets confirmed it.

Brooklyn also has two first-round draft picks, currently No. 22 and No. 27, and at least one of those could end up as an international player.

A source told The Post that Brooklyn is high on three prospects, including Syracuse stretch-four Tyler Lydon and Louisville guard Donovan Mitchell. The third is another international prospect: 6-foot-9 Latvian small forward Rodions Kurucs from Barcelona, whom Marks scouted during his European trip.

NBADraft.net and Fansided pegged the Nets for another international frontcourt player: Zalgiris 7-footer Isaiah Hartenstein. Brooklyn is familiar with Hartenstein, 18, because he plays for the German national team, which is coached by Nets assistant Chris Fleming.