Introduction - If you have any usage issues, please Google them yourself
For Delphi: This sample is based on MS DirectX SDK Pick sample demostrating how to "Pick" what triangle is pointed by mouse pointer on rotating object. This sample goes further so object is rotated by both WORLD and VIEW matrices (in original sample object was rotating only in VIEW space) AND user can move object in view space by dragging it with right mouse button.