Just to extend what Hodgman said. After you apply your projection matrix. all components are divided by w which clamps your x and y between -1 to 1 and z from 0 to 1 in DirectX and -1 to 1 in GL.
BornToCodeMember Since 17 Apr 2004
Offline Last Active Aug 22 2016 11:55 PM