Fix a bunch of stuff. Almost works correctly.

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>
Fix the frustum culling

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>