Classes | Functions | Variables
glutgraphics.cc File Reference
#include <string.h>
#include <unistd.h>
#include <libplayercore/playercore.h>
#include <GLUT/glut.h>
#include <math.h>
#include <stdio.h>
Include dependency graph for glutgraphics.cc:

Go to the source code of this file.

Classes

class  ExampleDriver
 

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
 
static int argc = 1
 
static char * argv = "fake"
 
GLfloat light0_ambient [] = { 0.2, 0.2, 0.2, 1.0 }
 
GLfloat light0_diffuse [] = { 0.0, 0.0, 0.0, 1.0 }
 
GLfloat light1_diffuse [] = { 1.0, 0.0, 0.0, 1.0 }
 
GLfloat light1_position [] = { 1.0, 1.0, 1.0, 0.0 }
 
GLfloat light2_diffuse [] = { 0.0, 1.0, 0.0, 1.0 }
 
GLfloat light2_position [] = { -1.0, -1.0, 1.0, 0.0 }
 
float s = 0.0
 

Function Documentation

◆ display()

void display ( void  )

Definition at line 65 of file glutgraphics.cc.

◆ ExampleDriver_Init()

Driver* ExampleDriver_Init ( ConfigFile *  cf,
int  section 
)

Definition at line 187 of file glutgraphics.cc.

◆ ExampleDriver_Register()

void ExampleDriver_Register ( DriverTable *  table)

Definition at line 198 of file glutgraphics.cc.

◆ idle()

void idle ( void  )

Definition at line 121 of file glutgraphics.cc.

◆ output()

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

Definition at line 54 of file glutgraphics.cc.

◆ player_driver_init()

int player_driver_init ( DriverTable *  table)

Definition at line 341 of file glutgraphics.cc.

◆ redraw()

void redraw ( int  val)

Definition at line 135 of file glutgraphics.cc.

◆ visible()

void visible ( int  vis)

Definition at line 151 of file glutgraphics.cc.

Variable Documentation

◆ angle1

GLfloat angle1 = 0.0

Definition at line 52 of file glutgraphics.cc.

◆ angle2

GLfloat angle2 = 0.0

Definition at line 52 of file glutgraphics.cc.

◆ argc

int argc = 1
static

Definition at line 215 of file glutgraphics.cc.

◆ argv

char* argv = "fake"
static

Definition at line 216 of file glutgraphics.cc.

◆ light0_ambient

GLfloat light0_ambient[] = { 0.2, 0.2, 0.2, 1.0 }

Definition at line 45 of file glutgraphics.cc.

◆ light0_diffuse

GLfloat light0_diffuse[] = { 0.0, 0.0, 0.0, 1.0 }

Definition at line 46 of file glutgraphics.cc.

◆ light1_diffuse

GLfloat light1_diffuse[] = { 1.0, 0.0, 0.0, 1.0 }

Definition at line 47 of file glutgraphics.cc.

◆ light1_position

GLfloat light1_position[] = { 1.0, 1.0, 1.0, 0.0 }

Definition at line 48 of file glutgraphics.cc.

◆ light2_diffuse

GLfloat light2_diffuse[] = { 0.0, 1.0, 0.0, 1.0 }

Definition at line 49 of file glutgraphics.cc.

◆ light2_position

GLfloat light2_position[] = { -1.0, -1.0, 1.0, 0.0 }

Definition at line 50 of file glutgraphics.cc.

◆ s

float s = 0.0

Definition at line 51 of file glutgraphics.cc.



stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Feb 28 2022 23:48:56