OpenGL ES 2.0 equivalent of glOrtho()?
- by Zippo
In my iphone app, I need to project 3d scene into the 2D coordinates of the screen for some calculations. My objects go through various rotations, translations and scaling. So I figured I need to multiply the vertices with ModelView matrix first, then I need to multiply it with the Orthogonal projection matrix.
First of all am on the right track?
I have the Model View Matrix, but need the projection matrix. Is there a glOrtho() equivalent in ES 2.0?