Results 1 to 4 of 4

Thread: OGL|ES glFrustum typo in spec

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    2

    OGL|ES glFrustum typo in spec

    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/docu...glFrustum.html

  2. #2
    Junior Member
    Join Date
    Feb 2004
    Posts
    2

    Re: OGL|ES glFrustum typo in spec

    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)

  3. #3
    Junior Member
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    6

    Re: OGL|ES glFrustum typo in spec

    Yes, you're right
    Marco Di Benedetto

  4. #4
    Junior Member
    Join Date
    Jan 2003
    Posts
    9

    Re: OGL|ES glFrustum typo in spec

    Thanks a lot! Will fix it in the next release.

Similar Threads

  1. OpenCL 1.0.48 typo
    By nathanweeks in forum Suggestions for next release
    Replies: 0
    Last Post: 04-27-2010, 05:14 PM
  2. Windowing system and OGL|ES.
    By code_comment in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 04-20-2005, 01:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •