updated frustum and added some things to prerender func