It was a close game in the third quarter when Montrose Christian’s stars took over.

No other player in the Washington area dunks like Justin Anderson, shown here in a 2011 game.

In less than 30 seconds, the trio of college prospects had swung the momentum back in their team’s favor in the National High School Invitational quarterfinals Thursday at Georgetown Prep. What had been a four-point lead soon was comfortably in double figures.

Anderson, the senior forward bound for Virginia, finished with 21 points and Wainwright, a junior forward, added a season-high 15 points and seven rebounds to lead the fourth-ranked Mustangs to a 64-48 victory over Ravenscroft of Raleigh, N.C.

“I think what happens when you make an offensive play like [Wainwright’s dunk] it wakes our defense up,” Montrose Christian Coach Stu Vetter said. “Our defense was good today and it got better with the energy create by the dunks.”

Carrera, a 6-foot-6 senior forward still considering his college options, added nine points and 14 rebounds. But it was Anderson, who made 4 of 9 three-point attempts, who stole the show, both with his outside shooting and his flashy dunks. Perhaps no play was more impressive than when Anderson tried to reverse dunk an alley-oop pass in the early going, then leaped to tip in his own miss.

Ravenscroft Coach Kevin Billerman said that he had watched some game tapes of Montrose Christian to prepare for the game. While he had been impressed by what he saw of Anderson on tape, Anderson was even better in person.

“Justin Anderson was fabulous today,” Billerman said.

Montrose, the tournament’s defending champion, advanced to play Montverde (Fla.) Academy in Friday’s semifinals at 11:30 a.m.