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
    Senior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Augsburg, Germany
    Posts
    334

    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.

Similar Threads

  1. Replies: 10
    Last Post: 05-24-2017, 07:31 PM
  2. translatef
    By angel111 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-22-2011, 03:22 PM
  3. Rotatef and Translatef combinations
    By rogerino in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-26-2011, 01:04 PM
  4. Translatef Problem in dynamic cube env mapping scene
    By raoulduke in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 10-20-2004, 01:24 AM
  5. No glRotatef/Translatef within glBegin/End?
    By calumr in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 03-08-2001, 01:42 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
  •  
Proudly hosted by Digital Ocean