Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: How to get the code of translatef()?

  1. #1
    Guest

    How to get the code of translatef()?

    I need to know how can I get the source code of gl.h, e.g the function codes of glTranslatef(), glRotatef(), cos I try to convert them from logarithmic number system, as a result to compare it from standard floating point arithmetic. If I write them myself, it couldn't match other glut functions which are given.

  2. #2
    Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Augsburg, Germany
    Posts
    415

    Re: How to get the code of translatef()?

    If you want to see how it exactly works in your implementation you need the original source which is not available. But if you just want to have a look at how it works you can download the mesa source code, which is free:

    http://www.mesa3d.org/

    Kilam.

Posting Permissions

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