X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=02033d954181ebfe7895feabcc31f8f23dd98a5d;hp=f3c4d2c8e0388c9e9dd562310be07de9ad104b6c;hb=2e45bbdea680ba33d94f53b8c915294c23fc507d;hpb=55097a45c4add91cd839f9d86d2255f2de5a9ab0 diff --git a/scene.c b/scene.c index f3c4d2c..02033d9 100644 --- a/scene.c +++ b/scene.c @@ -137,10 +137,10 @@ int floorSize = 100; /* Light 0 parameters */ GLfloat diffuse0[] = {1.0, 1.0, 1.0, 1.0}; -GLfloat ambient0[] = {0.0, 0.0, 0.0, 1.0}; +GLfloat ambient0[] = {1.0, 1.0, 1.0, 1.0}; GLfloat specular0[] = {1.0, 1.0, 1.0, 1.0}; -GLfloat emission0[] = {0.0, 0.0, 0.0, 1.0}; -GLfloat light0_pos[] ={ 1.0, 1.0, 0,0, 1.0}; +GLfloat light0_pos[] ={ 1.0, 2.0, 3,0, 1.0}; +GLfloat emission0[] = {0.0, 0.0, 0.0, 0.0}; /**