culling working for both 2d and 3d projections