There is a sign error in vmath::orto line 1042
vec4((left + right) / (left - right), (bottom + top) / (bottom - top), (n + f) / (f - n), 1.0f) );
the second last term (n + f) / (f - n) should be (n + f) / (n - f)
following glOrtho documentation.
Because of this error, objects visible with frustum() are no longer visible with ortho().
There is a sign error in vmath::orto line 1042
the second last term
(n + f) / (f - n)should be(n + f) / (n - f)following glOrtho documentation.
Because of this error, objects visible with
frustum()are no longer visible withortho().