Ortho 3D camera project matrix code sharing with 2D

Using the same code to generate a 3D ortho camera as is used in 2D, now
validated to work correctly.

TODO: factor this code out into a common function, instead of
duplicating it.