Project 3D world coordinates to 2D screen space. Origin (0,0) is top-left, (canvasW, canvasH) is bottom-right.
The 3D world coordinates to project
The camera used for projection
The width of the canvas in pixels
The height of the canvas in pixels
The 2D screen coordinates with z=0
Project 3D world coordinates to 2D screen space. Origin (0,0) is top-left, (canvasW, canvasH) is bottom-right.