renderer: request values from GL context
math: add (primitive) frustum culling code

Not all that functional nor tested yet, adapted from an article on the web.
drawlist: fix function prototype