void start_drawing ( void   ) 

Begins drawing routine.

Example: Draw a solid red line through the middle of the screen
 void main () // Main function
 {
  start_vLib ();

  // Load stuff, declare variables, etc.

  for(;;)
  {
    // I usually check for input and update stuff here.

    startDrawing ();

    // Drawing some stuff.

    endDrawing ( FLIP|SYNC );
  }

  // Unload stuff here

  stop_vLib ();
 }

Definition at line 197 of file vlib.c.


Generated on Tue Mar 20 23:01:06 2007 for vLib by  doxygen 1.4.7