Implemented frustum culling.