glutgraphics.cc File Reference

#include <unistd.h>
#include <string.h>
#include <libplayercore/playercore.h>
#include <GLUT/glut.h>
#include <stdio.h>
#include <math.h>


Functions

void display (void)
Driver * ExampleDriver_Init (ConfigFile *cf, int section)
void ExampleDriver_Register (DriverTable *table)
void idle (void)
void output (GLfloat x, GLfloat y, char *text)
int player_driver_init (DriverTable *table)
void redraw (int val)
void visible (int vis)

Variables

GLfloat angle1 = 0.0
GLfloat angle2 = 0.0
GLfloat light0_ambient []
GLfloat light0_diffuse []
GLfloat light1_diffuse []
GLfloat light1_position []
GLfloat light2_diffuse []
GLfloat light2_position []
float s = 0.0

Function Documentation

void display ( void   ) 

References angle1, angle2, output(), and s.

Driver* ExampleDriver_Init ( ConfigFile *  cf,
int  section 
)

Referenced by ExampleDriver_Register().

void ExampleDriver_Register ( DriverTable *  table  ) 

References ExampleDriver_Init().

Referenced by player_driver_init().

void idle ( void   ) 

References angle1, angle2, and s.

Referenced by visible().

void output ( GLfloat  x,
GLfloat  y,
char *  text 
)

Referenced by display().

int player_driver_init ( DriverTable *  table  ) 

void redraw ( int  val  ) 

References angle1, angle2, and s.

Referenced by Stg::StgCanvas::handle().

void visible ( int  vis  ) 

References idle().


Variable Documentation

GLfloat angle1 = 0.0

Referenced by display(), idle(), and redraw().

GLfloat angle2 = 0.0

Referenced by display(), idle(), and redraw().

GLfloat light0_ambient[]

Initial value:

{0.2, 0.2, 0.2, 1.0}

GLfloat light0_diffuse[]

Initial value:

{0.0, 0.0, 0.0, 1.0}

GLfloat light1_diffuse[]

Initial value:

{1.0, 0.0, 0.0, 1.0}

GLfloat light1_position[]

Initial value:

{1.0, 1.0, 1.0, 0.0}

GLfloat light2_diffuse[]

Initial value:

{0.0, 1.0, 0.0, 1.0}

GLfloat light2_position[]

Initial value:

{-1.0, -1.0, 1.0, 0.0}


Generated on Thu Jan 7 17:42:16 2010 for Stage by  doxygen 1.5.5