Well, in your example, you still didn’t correctly multiply your projection matrix with the view matrix. And the matrix calculation seemed a little strange.
Also, the visualization was based on some scaling that I’m not certain about.
I rewrote your example to use the draw_line
instead, to better track the actual movements:
frustum-test-codermaster.zip (545.4 KB)
All in all, I still think it works correctly