3d clipping
fix a bug of perspective projection