Marcus Camby and the Knicks have reached agreement on a contract that will pay him $13.2 million over the next three seasons.

Camby was traded by the Knicks to Denver in 2002.

The Rockets agreed to a sign-and-trade for Camby, acquiring Toney Douglas, Josh Harrelson, Jerome Jordan and second round picks in 2014 and 2015. New York will pay the salary of Douglas for the 12-13 season.