Thread: GLUT Application logic placement

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    83

    Angry GLUT Application logic placement

    I'm using the freeGLUT library. Here are the functions of a GLUT app...

    keyboard()
    display()
    idle()
    render()

    and glutMainLoop() cycles through them. But where does the application logic go? Could someone help me out?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    How about the readme / FAQs / examples from wherever you got the library?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Oct 2003
    Posts
    83
    Yes, I always look in the help files, and do an extensive search on google before I post. It gives examples of functions and how they are used, but there isn't a real application example. I know how I could make an application using Win32 - I want to make a similar application using GLUT.

    Also - What is faster? Win32 or GLUT?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  2. Getting rid of the console window in a glut application.
    By ganonl in forum Game Programming
    Replies: 0
    Last Post: 08-02-2004, 10:48 AM
  3. God
    By datainjector in forum A Brief History of Cprogramming.com
    Replies: 746
    Last Post: 12-22-2002, 12:01 PM