Eric_K
1
FYI, the OpenGL|ES reference manual contains a typo in glFrustum.
According to the ES spec the transformation matrix elements M(1,1) and M(2,2) are:
2 / (right - left)
2 / (top - bottom)
They should be:
(2 * near) / (right - left)
(2 * near) / (top - bottom)
Link : http://www.khronos.org/opengles/documentation/html/glFrustum.html
Eric_K
2
Hmm, now I see what appears to be another typo in the same glFrustum function:
Matrix elements M(1,3) and M(2,3) are:
- (right + left)/(right - left)
- (top + bottom)/(top - bottom)
They should be:
- (right + left)/(right - left)
- (top + bottom)/(top - bottom)
clyde7
4
Thanks a lot! Will fix it in the next release.
system
Closed
5
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.