How to get a orthographic projection matrix?

The opengl demo code uses Matrix3D::fromFrustum to create a perspective projection matrix.

I can’t find any way in JUCE to create an orthographic projection matrix. How would I do this?

thanks!

1 Like