I created the Orthogonal Projection with this matrix:
2.0f/(right-left) 0 0 -((right+left)/(right-left)) 0 2.0f/(top-bottom) 0 -((top+bottom)/(top-bottom)) 0 0 -2.0f/(zf-zn) -((zf+zn)/(zf-zn)) 0 0 0 1
I call the function on this way:
OrthoProjection(&projection, 0, width, height, 0, -1.0f, 1.0f);
And I want to invert the y-axis.
I'm looking for another solution because I don't want to multiply the projection matrix by scale matrix (1.0f, -1.0f, 1.0f)
How can I do it???