/* Implements frustum culling in the reference renderer */