Also playing big roles in the victory were Alan Anderson, who scored 24 points, and DeMar DeRozan with 19 and seven boards.
Ed Davis contributed 13 points for the Raptors, who won a second straight after breaking a six-game losing streak.
The Rockets, meanwhile, got 28 points from James Harden as they fell for fourth time in six contests.
Rosie O'Donnell unveils nearly 50-pound weight loss
Justin Bieber crashes Drake Bell's album release party