Results 1 to 7 of 7

Thread: Where to get gl_sin.h???

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    1

    Where to get gl_sin.h???

    Why i'm trying to build sample implementation using Visual C++ under Win2K, compiler can't find this file. For example, in uglu.c, th folowing line

    Code :
     

    So, where to get it?

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

    Re: Where to get gl_sin.h???

    Hi all,

    having the same missing gl_sin.h problem here

    nrth

  3. #3
    Junior Member
    Join Date
    Jan 2004
    Location
    Taipei, Taiwan
    Posts
    1

    Re: Where to get gl_sin.h???

    compile the gentable.c file in es directory, and output gl_sin.h

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

    Re: Where to get gl_sin.h???

    Hello!
    Compile gentable.c, it cann't get gl_sin.h !
    How to solve it!

  5. #5
    Junior Member
    Join Date
    Feb 2004
    Location
    Italy
    Posts
    1

    Re: Where to get gl_sin.h???

    Well, I think we should go and take you step by step

    Step 1: Compile the Gentable.c and get an executable.

    If you give a little look at the source code, that's easy to see that this lil
    prog one could make on his/her self takes
    and parses one param.
    This param can be :

    -e : Builds an EXP table
    -s : Builds a SIN table
    -r : Builds a Reciprocal table
    -q : Builds a Reciprocal Squareroot table

    Said this, you can launch the program like this : (example)

    Gentable -s

    This will print on the screen all the table contents generated.

    So here we have the next step:

    Step 2: Generate gl_sin.h

    To do this simply write down on DOS, (Or create a batch file) with the following:

    Gentable.exe -s >> gl_sin.h

    And you have got your gl_sin.h file ^_^.
    That's all

    Crash..
    One universe.. one brain ..
    crashtheuniverse...

  6. #6
    Junior Member
    Join Date
    Mar 2004
    Posts
    4

    Re: Where to get gl_sin.h???

    HEHE thats was like the first thing I thought about doing when I got this error, NOT!.

    I wonder why it wasnt just added precalculated in the source package, especially since it's mentioned no where in the install guide that you need to do this.

  7. #7
    Junior Member
    Join Date
    Mar 2004
    Posts
    4

    Re: Where to get gl_sin.h???

    I prepared the file for those guys that dont wan't to waste time on compiling it -> http://t23.homepage.dk/gl_sin.zip

Posting Permissions

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