Extracts the planes for a WebGL viewing frustum