OpenGL function

This is a discussion on OpenGL function within the Game Programming forums, part of the General Programming Boards category; Wich does what? check out: msdn.microsoft.com im not going to solve this problem for you...

  1. #16
    Banned
    Join Date
    Jan 2003
    Posts
    1,708

    Wich does what?
    check out:
    msdn.microsoft.com

    im not going to solve this problem for you

  2. #17
    Registered User
    Join Date
    Nov 2003
    Posts
    53
    Of curz not silvercord

    I just had no idea that you could check opengl stuff on msdn. thanks i will have a look for it right now
    Its all a matter of willpower

  3. #18
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    oops, I didn't know that you didnt' know

    but now you do. I use msdn a lot.

  4. #19
    Registered User
    Join Date
    Nov 2003
    Posts
    53
    damn...pointers...I hate them...however I know they are useful

    This is what you mean I should be looking for right silver?

    Code:
    void glColor3fv(
      const GLfloat *v   
    );
    I know you want me to think myself (And I want to think for myself hehe) But I dont really get what this *v is a pointer too. Tryed a few things but its not really working....
    Its all a matter of willpower

  5. #20
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Your "quad" has constant x and constant y values. ie.) its not a quad, your drawing four co-linear points.

  6. #21
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    the *v is the starting memory address of three floating point values that represent the x y and z coordinates of a single vertex in 3d space. you need to call glVertex3fv four times when you draw the quad

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 11:45 AM
  3. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  4. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 01:28 PM
  5. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 01:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21