how do i compare z with the frustum?