remove glu dependencies on perspective and ortho matrices construction

one more step to completely remove dependencies with GLU. this should also make cameras work with cairo if 3d is enabled